summaryrefslogtreecommitdiff
path: root/src/elisp/urweb-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'src/elisp/urweb-mode.el')
-rw-r--r--src/elisp/urweb-mode.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/elisp/urweb-mode.el b/src/elisp/urweb-mode.el
index 86c39d96..c8186182 100644
--- a/src/elisp/urweb-mode.el
+++ b/src/elisp/urweb-mode.el
@@ -573,6 +573,8 @@ Point should be just before the symbol ORIG-SYM and is not preserved."
(let ((sym (unless (save-excursion (urweb-backward-arg))
(urweb-backward-spaces)
(urweb-backward-sym))))
+ (if (and (= sym ">") (save-excursion (backward-char 5) (looking-at "</xml")))
+ (setq sym "</xml>"))
(if (member sym '(";" "d=")) (setq sym nil))
(if sym (urweb-get-sym-indent sym)
;; FIXME: this can take a *long* time !!