diff options
| author | Eli Zaretskii | 2007-12-08 12:38:46 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2007-12-08 12:38:46 +0000 |
| commit | d0b22d7de60c793079adabbae643002e3ccaa167 (patch) | |
| tree | c617e54234e43016fce404e1b2611bfa1c2502f9 | |
| parent | fc1f472bc498ac1e75d4b07a0ed23b53738e7f15 (diff) | |
| download | emacs-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.el | 3 |
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 | ||