Mercurial > emacs
diff lisp/textmodes/sgml-mode.el @ 105664:6a6fcf3e8e4d
* minibuffer.el (read-file-name): Check for repeat before putting
a default argument in file-name-history (Bug#4657).
* emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
read syntax (Bug#4737).
* textmodes/sgml-mode.el (sgml-delete-tag): Use
sgml-looking-back-at.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sun, 18 Oct 2009 22:25:36 +0000 |
parents | 5784286c9609 |
children | 2009126d46e1 |
line wrap: on
line diff
--- a/lisp/textmodes/sgml-mode.el Sun Oct 18 19:47:38 2009 +0000 +++ b/lisp/textmodes/sgml-mode.el Sun Oct 18 22:25:36 2009 +0000 @@ -909,7 +909,7 @@ (kill-sexp 1)) (setq open (point)) (when (and (sgml-skip-tag-forward 1) - (not (looking-back "/>"))) + (not (sgml-looking-back-at "/>"))) (kill-sexp -1))) ;; Delete any resulting empty line. If we didn't kill-sexp, ;; this *should* do nothing, because we're right after the tag.