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 [EMACS_22_


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/sgml-mode.el, v [EMACS_22_BASE]
Date: Mon, 28 May 2007 14:10:51 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Chong Yidong <cyd>      07/05/28 14:10:51

Index: sgml-mode.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/textmodes/sgml-mode.el,v
retrieving revision 1.121
retrieving revision 1.121.2.1
diff -u -b -r1.121 -r1.121.2.1
--- sgml-mode.el        23 Feb 2007 19:27:46 -0000      1.121
+++ sgml-mode.el        28 May 2007 14:10:50 -0000      1.121.2.1
@@ -897,6 +897,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
@@ -906,7 +907,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]