From: Stefan Monnier Date: Tue, 23 Oct 2007 00:48:34 +0000 (+0000) Subject: (tex-uptodate-p): Don't signal an error if one X-Git-Tag: emacs-pretest-22.1.90~544 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=594bab658352f8756b8c1b00e968daa48e5b6f78;p=emacs.git (tex-uptodate-p): Don't signal an error if one of the subdirs is unreadable. --- 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)))))