summaryrefslogtreecommitdiffstats
path: root/misc/po-mode.el
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-11-12 15:58:37 +0000
committerBruno Haible <bruno@clisp.org>2009-06-21 22:57:52 +0200
commit66954f47fa9e2998f50adf816c9d2c3288a41369 (patch)
treec0fac45bb7cbe72f79d738f04b136d9d8913f2b9 /misc/po-mode.el
parent43860449e92aafbe94bad5d31a4682cd6d3f037b (diff)
downloadexternal_gettext-66954f47fa9e2998f50adf816c9d2c3288a41369.zip
external_gettext-66954f47fa9e2998f50adf816c9d2c3288a41369.tar.gz
external_gettext-66954f47fa9e2998f50adf816c9d2c3288a41369.tar.bz2
with-temp-buffer is not portable.
Diffstat (limited to 'misc/po-mode.el')
-rw-r--r--misc/po-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/po-mode.el b/misc/po-mode.el
index d9d518a..8e9770e 100644
--- a/misc/po-mode.el
+++ b/misc/po-mode.el
@@ -919,7 +919,7 @@ Content-Type into a Mule coding system.")
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)
- (with-temp-buffer
+ (po-with-temp-buffer
(let ((coding-system-for-read 'no-conversion))
(let* ((charset (or (po-find-charset filename)
"ascii"))
@@ -3004,7 +3004,7 @@ Leave point after marked string."
(defvar po-msgfmt-version-checked nil)
(defun po-msgfmt-version-check ()
"'msgfmt' from GNU gettext 0.10.36 or greater is required."
- (with-temp-buffer
+ (po-with-temp-buffer
(or
;; Don't bother checking again.
po-msgfmt-version-checked