mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
; Fix last change
* lisp/international/latexenc.el (latexenc-find-file-coding-system): Check if `TeX-master' is really set to a string globally. (AUCTeX bug#78841)
This commit is contained in:
parent
c120a338e6
commit
db46d5e833
1 changed files with 2 additions and 1 deletions
|
|
@ -156,7 +156,8 @@ coding system names is determined from `latex-inputenc-coding-alist'."
|
|||
"^%+ *\\(TeX-master\\|tex-main-file\\): *\"\\(.+\\)\""
|
||||
nil t)
|
||||
(match-string 2)
|
||||
(or (bound-and-true-p TeX-master)
|
||||
(or (and (bound-and-true-p TeX-master)
|
||||
(stringp TeX-master))
|
||||
(bound-and-true-p tex-main-file)))))
|
||||
(dolist (ext `("" ,(if (boundp 'TeX-default-extension)
|
||||
(concat "." TeX-default-extension)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue