mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
; Fix last change in latexenc.el
* lisp/international/latexenc.el (latexenc-find-file-coding-system): Fix last change.
This commit is contained in:
parent
a947231851
commit
6e9fd53cca
|
|
@ -161,7 +161,8 @@ coding system names is determined from `latex-inputenc-coding-alist'."
|
|||
TeX-master)
|
||||
(bound-and-true-p tex-main-file)))))
|
||||
;; Decode the main file name, assuming it's in UTF-8.
|
||||
(setq file (decode-coding-string file 'utf-8))
|
||||
(if (stringp file)
|
||||
(setq file (decode-coding-string file 'utf-8)))
|
||||
(dolist (ext `("" ,(if (boundp 'TeX-default-extension)
|
||||
(concat "." TeX-default-extension)
|
||||
"")
|
||||
|
|
|
|||
Loading…
Reference in a new issue