From: Bruno Haible Date: Mon, 12 Nov 2001 15:58:37 +0000 (+0000) Subject: with-temp-buffer is not portable. X-Git-Tag: v0.11~305 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66954f47fa9e2998f50adf816c9d2c3288a41369;p=thirdparty%2Fgettext.git with-temp-buffer is not portable. --- diff --git a/misc/ChangeLog b/misc/ChangeLog index 6158e69cd..c897cd442 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,3 +1,15 @@ +2001-11-10 Karl Eichwalder + + * po-mode.el (po-find-file-coding-system-guts): Use + 'po-with-temp-buffer' instead of 'with-temp-buffer'. + (po-msgfmt-version-check): Likewise. + +2001-11-09 Dave Love + Bruno Haible + + * po-mode.el: Doc fixes. + (po-mode-map): Put all in defvar. + 2001-08-23 Karl Eichwalder * po-mode.el (po-mode-map): Assign new Key bindings to avoid diff --git a/misc/po-mode.el b/misc/po-mode.el index d9d518a28..8e9770ef7 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