mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 11:23:24 +00:00
Fix indentation of XML comments
* lisp/nxml/nxml-mode.el (nxml-compute-indent-in-delimited-token): Fix indentation in XML comments with empty lines. Patch by John Ciolfi <ciolfi@mathworks.com>. (Bug#73206)
This commit is contained in:
parent
1a2c29b531
commit
0d493864ce
1 changed files with 2 additions and 0 deletions
|
@ -1522,6 +1522,8 @@ of the line. This expects the xmltok-* variables to be set up as by
|
|||
((progn
|
||||
(goto-char pos)
|
||||
(forward-line -1)
|
||||
(while (looking-at "^[[:blank:]]*$")
|
||||
(forward-line -1))
|
||||
(<= (point) xmltok-start))
|
||||
(goto-char (+ xmltok-start (length open-delim)))
|
||||
(when (and (string= open-delim "<!--")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue