aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2007-10-23 00:48:34 +0000
committerStefan Monnier <[email protected]>2007-10-23 00:48:34 +0000
commit594bab658352f8756b8c1b00e968daa48e5b6f78 (patch)
treec7001e26c4be49537d36dd55e614c7c0e1562bc9 /lisp/textmodes
parent480bda51b96e3c1c5d2c5abee19f8550cc1fd37f (diff)
(tex-uptodate-p): Don't signal an error if one
of the subdirs is unreadable.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/tex-mode.el3
1 files changed, 2 insertions, 1 deletions
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)))))