(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:
Eli Zaretskii 2007-12-08 12:38:46 +00:00
parent fc1f472bc4
commit d0b22d7de6

View file

@ -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))