aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2006-01-27 19:32:05 +0000
committerEli Zaretskii2006-01-27 19:32:05 +0000
commita15df48e1901133f965ce26738e98b4864475e7f (patch)
treebae40897a7e9d8c1b6d85c754bea65fccc5b332e
parentc80977a1f9a972a5056670c477b0263918f2057c (diff)
downloademacs-a15df48e1901133f965ce26738e98b4864475e7f.tar.gz
emacs-a15df48e1901133f965ce26738e98b4864475e7f.zip
Undo last change.
-rw-r--r--lisp/international/latexenc.el3
1 files changed, 1 insertions, 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'."
156 "") 156 "")
157 ".tex" ".ltx" ".dtx" ".drv")) 157 ".tex" ".ltx" ".dtx" ".drv"))
158 (if (and (null latexenc-main-file) ;Stop at first. 158 (if (and (null latexenc-main-file) ;Stop at first.
159 (file-regular-p (concat file ext)) 159 (file-exists-p (concat file ext)))
160 (file-readable-p (concat file ext)))
161 (setq latexenc-main-file (concat file ext))))))) 160 (setq latexenc-main-file (concat file ext)))))))
162 ;; try tex-modes tex-guess-main-file 161 ;; try tex-modes tex-guess-main-file
163 (when (and (not latexenc-dont-use-tex-guess-main-file-flag) 162 (when (and (not latexenc-dont-use-tex-guess-main-file-flag)