emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/textmodes/sgml-mode.el


From: Kim F . Storm
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/sgml-mode.el
Date: Wed, 09 Feb 2005 10:52:45 -0500

Index: emacs/lisp/textmodes/sgml-mode.el
diff -c emacs/lisp/textmodes/sgml-mode.el:1.102 
emacs/lisp/textmodes/sgml-mode.el:1.103
*** emacs/lisp/textmodes/sgml-mode.el:1.102     Thu Jan 13 14:51:54 2005
--- emacs/lisp/textmodes/sgml-mode.el   Wed Feb  9 15:50:36 2005
***************
*** 352,358 ****
  Otherwise, it is set to be buffer-local when the file has
   a DOCTYPE or an XML declaration."
    :type 'boolean
!   :version "21.4"
    :group 'sgml)
  
  (defvar sgml-empty-tags nil
--- 352,358 ----
  Otherwise, it is set to be buffer-local when the file has
   a DOCTYPE or an XML declaration."
    :type 'boolean
!   :version "22.1"
    :group 'sgml)
  
  (defvar sgml-empty-tags nil
***************
*** 1215,1221 ****
                  (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
--- 1215,1221 ----
                  (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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]