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,v


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/sgml-mode.el,v
Date: Tue, 29 May 2007 23:19:44 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Miles Bader <miles>     07/05/29 23:19:43

Index: lisp/textmodes/sgml-mode.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/textmodes/sgml-mode.el,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -b -r1.125 -r1.126
--- lisp/textmodes/sgml-mode.el 18 May 2007 09:34:07 -0000      1.125
+++ lisp/textmodes/sgml-mode.el 29 May 2007 23:19:40 -0000      1.126
@@ -896,6 +896,7 @@
   ;; Show preceding or following hidden tag, depending of cursor direction.
   (let ((inhibit-point-motion-hooks t))
     (save-excursion
+      (condition-case nil
       (message "Invisible tag: %s"
               ;; Strip properties, otherwise, the text is invisible.
               (buffer-substring-no-properties
@@ -905,7 +906,9 @@
                        (and (< x y)
                             (eq (preceding-char) ?>)))
                    (backward-list)
-                 (forward-list)))))))
+                     (forward-list))))
+       (error nil)))))
+
 
 
 (defun sgml-validate (command)




reply via email to

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