aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/textmodes/tex-mode.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e02f109db9..2273471a82 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-23 Stefan Monnier <[email protected]>
+
+ * textmodes/tex-mode.el (tex-uptodate-p): Don't signal an error if one
+ of the subdirs is unreadable.
+
2007-10-22 Martin Rudalics <[email protected]>
* progmodes/fortran.el (fortran-mode-map, fortran-window-create):
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 54b592e484..530fd87190 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -1829,7 +1829,8 @@ FILE is typically the output DVI or PDF file."
(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)))))