summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Liu <sdl.web@gmail.com>2012-11-26 00:07:58 +0800
committerLeo Liu <sdl.web@gmail.com>2012-11-26 00:07:58 +0800
commit9ad7950682da214673bfea09d9242eb5b538073a (patch)
tree749568132eb753b1f2d18b9c5b2fbf3a9b55cbdd
parentcf5b88801b26c4ba0f5b9f0d5c1eea535a8dbb5a (diff)
downloademacs-9ad7950682da214673bfea09d9242eb5b538073a.tar.gz
* lisp/textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
Fixes: debbugs:12979
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/textmodes/sgml-mode.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f0a487370d3..9e403af6416 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-11-25 Leo Liu <sdl.web@gmail.com>
+
+ * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
+ (Bug#12979)
+
2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
* textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
index 46c65b25b37..ed031664246 100644
--- a/lisp/textmodes/sgml-mode.el
+++ b/lisp/textmodes/sgml-mode.el
@@ -671,13 +671,13 @@ in your `.emacs':
(if (eq v2 t) (setq v2 nil))
;; We use `identity' to prevent skeleton from passing
;; `str' through `skeleton-transformation-function' a second time.
- '(("") v2 _ v2 "</" (identity ',str) ?>))
+ '(("") v2 _ v2 "</" (identity ',str) ?> >))
((eq (car v2) t)
(cons '("") (cdr v2)))
(t
(append '(("") (car v2))
(cdr v2)
- '(resume: (car v2) _ "</" (identity ',str) ?>))))))
+ '(resume: (car v2) _ "</" (identity ',str) ?> >))))))
(autoload 'skeleton-read "skeleton")