changeset 79543:5b9f6405b71a

(latexenc-find-file-coding-system): If both coding-system-for-write and buffer-file-coding-system of latex-main-file are nil, use `undecided'.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 08 Dec 2007 12:38:46 +0000
parents 2a2eddb0058b
children 83e5f9b12104
files lisp/international/latexenc.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/latexenc.el	Thu Dec 06 17:58:08 2007 +0000
+++ b/lisp/international/latexenc.el	Sat Dec 08 12:38:46 2007 +0000
@@ -181,7 +181,8 @@
                         (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))