# HG changeset patch # User Eli Zaretskii # Date 1197117526 0 # Node ID 5b9f6405b71a9b38e9c06eec02b338410a827950 # Parent 2a2eddb0058b5b06501416016d6c44e1da93a967 (latexenc-find-file-coding-system): If both coding-system-for-write and buffer-file-coding-system of latex-main-file are nil, use `undecided'. diff -r 2a2eddb0058b -r 5b9f6405b71a lisp/international/latexenc.el --- 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))