aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2007-12-08 12:38:46 +0000
committerEli Zaretskii2007-12-08 12:38:46 +0000
commitd0b22d7de60c793079adabbae643002e3ccaa167 (patch)
treec617e54234e43016fce404e1b2611bfa1c2502f9
parentfc1f472bc498ac1e75d4b07a0ed23b53738e7f15 (diff)
downloademacs-d0b22d7de60c793079adabbae643002e3ccaa167.tar.gz
emacs-d0b22d7de60c793079adabbae643002e3ccaa167.zip
(latexenc-find-file-coding-system): If both coding-system-for-write and
buffer-file-coding-system of latex-main-file are nil, use `undecided'.
-rw-r--r--lisp/international/latexenc.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/international/latexenc.el b/lisp/international/latexenc.el
index 57013b59538..cc52eb4cbdf 100644
--- a/lisp/international/latexenc.el
+++ b/lisp/international/latexenc.el
@@ -181,7 +181,8 @@ coding system names is determined from `latex-inputenc-coding-alist'."
181 (find-file-noselect latexenc-main-file t))) 181 (find-file-noselect latexenc-main-file t)))
182 (coding-system-base ;Disregard the EOL part of the CS. 182 (coding-system-base ;Disregard the EOL part of the CS.
183 (with-current-buffer latexenc-main-buffer 183 (with-current-buffer latexenc-main-buffer
184 (or coding-system-for-write buffer-file-coding-system)))) 184 (or coding-system-for-write buffer-file-coding-system
185 'undecided))))
185 'undecided)))) 186 'undecided))))
186 'undecided)) 187 'undecided))
187 188