mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-28 07:45:00 +00:00
* lisp/nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
enabled. Suggested by James Ahlborn <jahlborn@gmail.com>. Fixes: debbugs:8704
This commit is contained in:
parent
6a45b46fdd
commit
96479927c9
@ -1,3 +1,8 @@
|
||||
2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
|
||||
enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
|
||||
|
||||
2011-05-20 Nix <nix@esperi.org.uk>
|
||||
|
||||
* files.el (basic-save-buffer-2):
|
||||
|
@ -1263,9 +1263,9 @@ on the line, reindent the line."
|
||||
(nxml-scan-error nil))
|
||||
(when (and (eq (nxml-token-before) (point))
|
||||
(eq xmltok-type 'partial-empty-element))
|
||||
(insert ">")))
|
||||
(when (and end-tag-p at-indentation)
|
||||
(nxml-indent-line))))))
|
||||
(insert ">"))))
|
||||
(when (and end-tag-p at-indentation)
|
||||
(nxml-indent-line)))))
|
||||
|
||||
(defun nxml-balanced-close-start-tag-block ()
|
||||
"Close the start-tag before point with `>' and insert a balancing end-tag.
|
||||
|
Loading…
Reference in New Issue
Block a user