diff options
| author | Eli Zaretskii | 2002-03-15 19:30:36 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2002-03-15 19:30:36 +0000 |
| commit | 2ca514455eb9fce8ade9c23d5bcc5bbc69bdb9fd (patch) | |
| tree | 4d548823f8289432d098c4d6f0043872008d9869 /lisp/textmodes | |
| parent | 4eb840763cbcd42f2d59a5ebf7da0f01af851459 (diff) | |
| download | emacs-2ca514455eb9fce8ade9c23d5bcc5bbc69bdb9fd.tar.gz emacs-2ca514455eb9fce8ade9c23d5bcc5bbc69bdb9fd.zip | |
(po-find-file-coding-system-guts): Use
with-temp-buffer instead of po-with-temp-buffer.
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/po.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/po.el b/lisp/textmodes/po.el index d65eb3b6bc9..30a188cf688 100644 --- a/lisp/textmodes/po.el +++ b/lisp/textmodes/po.el | |||
| @@ -149,7 +149,7 @@ Return a Mule (DECODING . ENCODING) pair, according to PO file charset. | |||
| 149 | Called through file-coding-system-alist, before the file is visited for real." | 149 | Called through file-coding-system-alist, before the file is visited for real." |
| 150 | (and (eq operation 'insert-file-contents) | 150 | (and (eq operation 'insert-file-contents) |
| 151 | (file-exists-p filename) | 151 | (file-exists-p filename) |
| 152 | (po-with-temp-buffer | 152 | (with-temp-buffer |
| 153 | (let* ((coding-system-for-read 'no-conversion) | 153 | (let* ((coding-system-for-read 'no-conversion) |
| 154 | (charset (or (po-find-charset filename) "ascii")) | 154 | (charset (or (po-find-charset filename) "ascii")) |
| 155 | (charset-upper (intern (upcase charset))) | 155 | (charset-upper (intern (upcase charset))) |