Commit a15df48e authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Undo last change.

parent c80977a1
...@@ -156,8 +156,7 @@ coding system names is determined from `latex-inputenc-coding-alist'." ...@@ -156,8 +156,7 @@ coding system names is determined from `latex-inputenc-coding-alist'."
"") "")
".tex" ".ltx" ".dtx" ".drv")) ".tex" ".ltx" ".dtx" ".drv"))
(if (and (null latexenc-main-file) ;Stop at first. (if (and (null latexenc-main-file) ;Stop at first.
(file-regular-p (concat file ext)) (file-exists-p (concat file ext)))
(file-readable-p (concat file ext)))
(setq latexenc-main-file (concat file ext))))))) (setq latexenc-main-file (concat file ext)))))))
;; try tex-modes tex-guess-main-file ;; try tex-modes tex-guess-main-file
(when (and (not latexenc-dont-use-tex-guess-main-file-flag) (when (and (not latexenc-dont-use-tex-guess-main-file-flag)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment