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: Mike Williams
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/sgml-mode.el
Date: Sun, 14 Apr 2002 08:49:39 -0400

Index: emacs/lisp/textmodes/sgml-mode.el
diff -c emacs/lisp/textmodes/sgml-mode.el:1.82 
emacs/lisp/textmodes/sgml-mode.el:1.83
*** emacs/lisp/textmodes/sgml-mode.el:1.82      Thu Apr 11 17:58:23 2002
--- emacs/lisp/textmodes/sgml-mode.el   Sun Apr 14 08:49:39 2002
***************
*** 976,982 ****
  Assume that parsing starts from within a textual context.
  Leave point at the beginning of the tag."
    (let (tag-type tag-start tag-end name)
!     (search-backward ">")
      (setq tag-end (1+ (point)))
      (cond
       ((sgml-looking-back-at "--")   ; comment
--- 976,983 ----
  Assume that parsing starts from within a textual context.
  Leave point at the beginning of the tag."
    (let (tag-type tag-start tag-end name)
!     (or (search-backward ">" nil 'move)
!         (error "No tag found"))
      (setq tag-end (1+ (point)))
      (cond
       ((sgml-looking-back-at "--")   ; comment



reply via email to

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