changeset 79173:50711e81a122

(tex-uptodate-p): Don't signal an error if one of the subdirs is unreadable.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 23 Oct 2007 00:48:34 +0000
parents 5b5c69b10c65
children cea4cfa4fef8
files lisp/ChangeLog lisp/textmodes/tex-mode.el
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Oct 23 00:47:58 2007 +0000
+++ b/lisp/ChangeLog	Tue Oct 23 00:48:34 2007 +0000
@@ -1,3 +1,8 @@
+2007-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* textmodes/tex-mode.el (tex-uptodate-p): Don't signal an error if one
+	of the subdirs is unreadable.
+
 2007-10-22  Martin Rudalics  <rudalics@gmx.at>
 
 	* progmodes/fortran.el (fortran-mode-map, fortran-window-create):
--- a/lisp/textmodes/tex-mode.el	Tue Oct 23 00:47:58 2007 +0000
+++ b/lisp/textmodes/tex-mode.el	Tue Oct 23 00:48:34 2007 +0000
@@ -1829,7 +1829,8 @@
 		  (not (file-symlink-p f)))
 	     (unless (string-match ignored-dirs-re f)
 	       (setq files (nconc
-			    (directory-files f t tex-input-files-re)
+                            (ignore-errors ;Not readable or something.
+                              (directory-files f t tex-input-files-re))
 			    files)))
 	   (when (file-newer-than-file-p f file)
 	     (setq uptodate nil)))))