bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16508: 24.3; Slash matching in HTML mode


From: Lars Ingebrigtsen
Subject: bug#16508: 24.3; Slash matching in HTML mode
Date: Sun, 15 Apr 2018 23:57:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Rüdiger Sonderfeld <address@hidden> writes:

> │ diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
> │ index 09459d1..78fdb50 100644
> │ --- a/lisp/textmodes/sgml-mode.el
> │ +++ b/lisp/textmodes/sgml-mode.el
> │ @@ -539,7 +539,7 @@ (defun sgml-slash (arg)
> │      (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 `/'.

Seems to do the right thing in the test case, so I've applied it to
Emacs 27.1.  If this turns out to be the wrong thing to do, it should be
easy enough to revert.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]