projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9932342
)
In HTML mode, don't match </ with the wrong /
author
RĂ¼diger Sonderfeld
<ruediger@c-plusplus.de>
Sun, 15 Apr 2018 21:56:24 +0000
(23:56 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 15 Apr 2018 21:56:24 +0000
(23:56 +0200)
* lisp/textmodes/sgml-mode.el (sgml-slash): In HTML mode, don't
match <br /><h1>...</ with the preceding / (bug#16508).
lisp/textmodes/sgml-mode.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/sgml-mode.el
b/lisp/textmodes/sgml-mode.el
index 52d14bd800cf807e430c52db44499fd753b8a9d0..811eb6622a266d2d9066ddb2af6d5e4e54d38c0e 100644
(file)
--- a/
lisp/textmodes/sgml-mode.el
+++ b/
lisp/textmodes/sgml-mode.el
@@
-618,7
+618,7
@@
Behaves electrically if `sgml-quick-keys' is non-nil."
(delete-char -1)
(sgml-close-tag))
(t
- (
sgml-slash-matching
arg))))
+ (
insert-char ?/
arg))))
(defun sgml-slash-matching (arg)
"Insert `/' and display any previous matching `/'.