Mercurial > emacs
diff lisp/international/latexenc.el @ 68421:f8e7e79d2ca2
Undo last change.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 27 Jan 2006 19:32:05 +0000 |
parents | c72649ca09b5 |
children | 2552d32034c7 |
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)