diff lisp/textmodes/tex-mode.el @ 85688:b210bba3f477

Merge from emacs--rel--22 Patches applied: * emacs--rel--22 (patch 131-137) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 261-262) - Update from CVS Revision: emacs@sv.gnu.org/emacs--devo--0--patch-908
author Miles Bader <miles@gnu.org>
date Sat, 27 Oct 2007 09:07:17 +0000
parents 66630159c742 50711e81a122
children 107ccd98fa12 4bc33ffdda1a
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el	Sat Oct 27 00:25:43 2007 +0000
+++ b/lisp/textmodes/tex-mode.el	Sat Oct 27 09:07:17 2007 +0000
@@ -1932,7 +1932,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)))))