[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 7d0fa60: In HTML mode, don't match </ with the wron
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 7d0fa60: In HTML mode, don't match </ with the wrong / |
Date: |
Sun, 15 Apr 2018 17:57:45 -0400 (EDT) |
branch: master
commit 7d0fa6081e7e307055b5dc47566061c0682e3ab7
Author: RĂ¼diger Sonderfeld <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
In HTML mode, don't match </ with the wrong /
* 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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
index 52d14bd..811eb66 100644
--- 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 `/'.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 7d0fa60: In HTML mode, don't match </ with the wrong /,
Lars Ingebrigtsen <=