Mercurial > emacs
diff lisp/textmodes/sgml-mode.el @ 59996:aac0a33f5772
Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Wed, 09 Feb 2005 15:50:47 +0000 |
parents | e51199adcfb0 |
children | f38eb69aa763 3ebd9bdb4fe5 |
line wrap: on
line diff
--- a/lisp/textmodes/sgml-mode.el Tue Feb 08 23:51:31 2005 +0000 +++ b/lisp/textmodes/sgml-mode.el Wed Feb 09 15:50:47 2005 +0000 @@ -352,7 +352,7 @@ Otherwise, it is set to be buffer-local when the file has a DOCTYPE or an XML declaration." :type 'boolean - :version "21.4" + :version "22.1" :group 'sgml) (defvar sgml-empty-tags nil @@ -1215,7 +1215,7 @@ (if (cdr tmp) (setcdr tmp (cddr tmp))))) (message "Unmatched tags <%s> and </%s>" (sgml-tag-name tag-info) (pop stack))))) - + (if (and (null stack) (sgml-unclosed-tag-p (sgml-tag-name tag-info))) ;; This is a top-level open of an implicitly closed tag, so any ;; occurrence of such an open tag at the same level can be ignored