Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b8b14971
Commit
b8b14971
authored
Mar 09, 1999
by
Dave Love
Browse files
(html-mode): Use sentence-end-double-space when setting sentence-end.
parent
3be6c6a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
lisp/textmodes/sgml-mode.el
lisp/textmodes/sgml-mode.el
+4
-1
No files found.
lisp/textmodes/sgml-mode.el
View file @
b8b14971
...
...
@@ -1197,7 +1197,10 @@ To work around that, do:
(make-local-variable 'outline-level)
(make-local-variable 'sentence-end)
(setq sentence-end
"[.?!][]\"')}]*\\(<[^>]*>\\)*\\($\\|
$\\|\t\\|
\\
)
[
\t\n]*
")
(if sentence-end-double-space
"[.?!][]\"')}]*\\(<[^>]*>\\)*\\($\\|
$\\|\t\\|
\\
)
[
\t\n]*
"
"
[.?!][]\"
'
)
}]*\\
(
<[^>]*>\\
)
*\\
(
$\\| \\|\t\\
)
[
\t\n]*
"))
(setq sgml-tag-alist html-tag-alist
sgml-face-tag-alist html-face-tag-alist
sgml-tag-help html-tag-help
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment