enabled. Suggested by James Ahlborn <jahlborn@gmail.com>.
Fixes: debbugs:8704
+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):
(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.