From a15df48e1901133f965ce26738e98b4864475e7f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 27 Jan 2006 19:32:05 +0000 Subject: [PATCH] Undo last change. --- lisp/international/latexenc.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/international/latexenc.el b/lisp/international/latexenc.el index 5840a553f5c..25d56c1e928 100644 --- a/lisp/international/latexenc.el +++ b/lisp/international/latexenc.el @@ -156,8 +156,7 @@ coding system names is determined from `latex-inputenc-coding-alist'." "") ".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) -- 2.39.2