(latexenc-find-file-coding-system): If both coding-system-for-write and
buffer-file-coding-system of latex-main-file are nil, use `undecided'.
This commit is contained in:
parent
fc1f472bc4
commit
d0b22d7de6
1 changed files with 2 additions and 1 deletions
|
@ -181,7 +181,8 @@ coding system names is determined from `latex-inputenc-coding-alist'."
|
|||
(find-file-noselect latexenc-main-file t)))
|
||||
(coding-system-base ;Disregard the EOL part of the CS.
|
||||
(with-current-buffer latexenc-main-buffer
|
||||
(or coding-system-for-write buffer-file-coding-system))))
|
||||
(or coding-system-for-write buffer-file-coding-system
|
||||
'undecided))))
|
||||
'undecided))))
|
||||
'undecided))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue