diff options
| author | Stefan Monnier | 2007-10-23 00:48:34 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-10-23 00:48:34 +0000 |
| commit | 594bab658352f8756b8c1b00e968daa48e5b6f78 (patch) | |
| tree | c7001e26c4be49537d36dd55e614c7c0e1562bc9 | |
| parent | 480bda51b96e3c1c5d2c5abee19f8550cc1fd37f (diff) | |
| download | emacs-594bab658352f8756b8c1b00e968daa48e5b6f78.tar.gz emacs-594bab658352f8756b8c1b00e968daa48e5b6f78.zip | |
(tex-uptodate-p): Don't signal an error if one
of the subdirs is unreadable.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/textmodes/tex-mode.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e02f109db9e..2273471a822 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-10-23 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * textmodes/tex-mode.el (tex-uptodate-p): Don't signal an error if one | ||
| 4 | of the subdirs is unreadable. | ||
| 5 | |||
| 1 | 2007-10-22 Martin Rudalics <rudalics@gmx.at> | 6 | 2007-10-22 Martin Rudalics <rudalics@gmx.at> |
| 2 | 7 | ||
| 3 | * progmodes/fortran.el (fortran-mode-map, fortran-window-create): | 8 | * 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." | |||
| 1829 | (not (file-symlink-p f))) | 1829 | (not (file-symlink-p f))) |
| 1830 | (unless (string-match ignored-dirs-re f) | 1830 | (unless (string-match ignored-dirs-re f) |
| 1831 | (setq files (nconc | 1831 | (setq files (nconc |
| 1832 | (directory-files f t tex-input-files-re) | 1832 | (ignore-errors ;Not readable or something. |
| 1833 | (directory-files f t tex-input-files-re)) | ||
| 1833 | files))) | 1834 | files))) |
| 1834 | (when (file-newer-than-file-p f file) | 1835 | (when (file-newer-than-file-p f file) |
| 1835 | (setq uptodate nil))))) | 1836 | (setq uptodate nil))))) |