changeset 68421:f8e7e79d2ca2

Undo last change.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 27 Jan 2006 19:32:05 +0000
parents f2320c45a0ff
children 9f18f2e003c8
files lisp/international/latexenc.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/latexenc.el	Fri Jan 27 19:28:42 2006 +0000
+++ b/lisp/international/latexenc.el	Fri Jan 27 19:32:05 2006 +0000
@@ -156,8 +156,7 @@
                                        "")
                                  ".tex" ".ltx" ".dtx" ".drv"))
                     (if (and (null latexenc-main-file) ;Stop at first.
-                             (file-regular-p (concat file ext))
-                             (file-readable-p (concat file ext)))
+                             (file-exists-p (concat file ext)))
                         (setq latexenc-main-file (concat file ext)))))))
             ;; try tex-modes tex-guess-main-file
             (when (and (not latexenc-dont-use-tex-guess-main-file-flag)