mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 04:21:24 +00:00
Fix bug in latexenc when AUCTeX is loaded
* lisp/international/latexenc.el (latexenc-find-file-coding-system): Set file name correctly when `TeX-master' is a string. (Bug#81099)
This commit is contained in:
parent
e9d1367a32
commit
35a82765bf
1 changed files with 2 additions and 1 deletions
|
|
@ -157,7 +157,8 @@ coding system names is determined from `latex-inputenc-coding-alist'."
|
||||||
nil t)
|
nil t)
|
||||||
(match-string 2)
|
(match-string 2)
|
||||||
(or (and (bound-and-true-p TeX-master)
|
(or (and (bound-and-true-p TeX-master)
|
||||||
(stringp TeX-master))
|
(stringp TeX-master)
|
||||||
|
TeX-master)
|
||||||
(bound-and-true-p tex-main-file)))))
|
(bound-and-true-p tex-main-file)))))
|
||||||
(dolist (ext `("" ,(if (boundp 'TeX-default-extension)
|
(dolist (ext `("" ,(if (boundp 'TeX-default-extension)
|
||||||
(concat "." TeX-default-extension)
|
(concat "." TeX-default-extension)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue