From 594bab658352f8756b8c1b00e968daa48e5b6f78 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 23 Oct 2007 00:48:34 +0000 Subject: [PATCH] (tex-uptodate-p): Don't signal an error if one of the subdirs is unreadable. --- lisp/ChangeLog | 5 +++++ lisp/textmodes/tex-mode.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e02f109db9e..2273471a822 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-10-23 Stefan Monnier + + * textmodes/tex-mode.el (tex-uptodate-p): Don't signal an error if one + of the subdirs is unreadable. + 2007-10-22 Martin Rudalics * progmodes/fortran.el (fortran-mode-map, fortran-window-create): diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 54b592e4845..530fd871903 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))))) -- 2.39.2