CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    11/07/12 10:58:22

Index: tex.el
===================================================================
RCS file: /cvsroot/auctex/auctex/tex.el,v
retrieving revision 5.684
retrieving revision 5.685
diff -u -b -r5.684 -r5.685
--- tex.el      19 Jun 2011 19:35:30 -0000      5.684
+++ tex.el      12 Jul 2011 10:58:22 -0000      5.685
@@ -3671,8 +3671,9 @@
               (delete "." dirs))
           (setq extensions (concat "\\." (regexp-opt extensions t) "\\'")
                 result (apply #'append (mapcar (lambda (x)
+                                                 (when (file-readable-p x)
                                                  (directory-files
-                                                  x (not nodir) extensions))
+                                                    x (not nodir) extensions)))
                                                dirs)))
           (if strip
               (mapcar (lambda(x)

_______________________________________________
auctex-diffs mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to