Commit 2ca51445 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(po-find-file-coding-system-guts): Use

with-temp-buffer instead of po-with-temp-buffer.
parent 4eb84076
2002-03-15 Eli Zaretskii <eliz@is.elta.co.il>
* textmodes/po.el (po-find-file-coding-system-guts): Use
with-temp-buffer instead of po-with-temp-buffer.
* international/mule-conf.el (file-coding-system-alist): Add an
association for PO files.
......
......@@ -149,7 +149,7 @@ Return a Mule (DECODING . ENCODING) pair, according to PO file charset.
Called through file-coding-system-alist, before the file is visited for real."
(and (eq operation 'insert-file-contents)
(file-exists-p filename)
(po-with-temp-buffer
(with-temp-buffer
(let* ((coding-system-for-read 'no-conversion)
(charset (or (po-find-charset filename) "ascii"))
(charset-upper (intern (upcase charset)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment