]> git.eshelyaron.com Git - emacs.git/commitdiff
(tex-uptodate-p): Don't signal an error if one
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 23 Oct 2007 00:48:34 +0000 (00:48 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 23 Oct 2007 00:48:34 +0000 (00:48 +0000)
of the subdirs is unreadable.

lisp/ChangeLog
lisp/textmodes/tex-mode.el

index e02f109db9e38a0434254222ab88c442b0103808..2273471a822087702fc549b87c4fbb459442789d 100644 (file)
@@ -1,3 +1,8 @@
+2007-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * textmodes/tex-mode.el (tex-uptodate-p): Don't signal an error if one
+       of the subdirs is unreadable.
+
 2007-10-22  Martin Rudalics  <rudalics@gmx.at>
 
        * progmodes/fortran.el (fortran-mode-map, fortran-window-create):
index 54b592e4845e66ae3684f0d7fed06f35c4667ac9..530fd871903be4157c04274bd0ccc5ba246e25d3 100644 (file)
@@ -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)))))