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/tex-mode.el, v [EMACS_22_B


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/tex-mode.el, v [EMACS_22_BASE]
Date: Fri, 25 Jul 2008 18:41:51 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Chong Yidong <cyd>      08/07/25 18:41:51

Index: tex-mode.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/textmodes/tex-mode.el,v
retrieving revision 1.185.2.9
retrieving revision 1.185.2.10
diff -u -b -r1.185.2.9 -r1.185.2.10
--- tex-mode.el 7 Jan 2008 02:21:39 -0000       1.185.2.9
+++ tex-mode.el 25 Jul 2008 18:41:50 -0000      1.185.2.10
@@ -2047,7 +2047,11 @@
                    (with-syntax-table tex-error-parse-syntax-table
                      (backward-up-list 1)
                      (skip-syntax-forward "(_")
-                     (while (not (file-readable-p (thing-at-point 'filename)))
+                     (while (not 
+                             (and (setq try-filename (thing-at-point
+                                                      'filename))
+                                  (not (string= "" try-filename))
+                                  (file-readable-p try-filename)))
                        (skip-syntax-backward "(_")
                        (backward-up-list 1)
                        (skip-syntax-forward "(_"))




reply via email to

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