]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
with-temp-buffer is not portable.
authorBruno Haible <bruno@clisp.org>
Mon, 12 Nov 2001 15:58:37 +0000 (15:58 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 21 Jun 2009 20:57:52 +0000 (22:57 +0200)
misc/ChangeLog
misc/po-mode.el

index 6158e69cd8e59af64beb21d3ac9ca9a11d7b9b78..c897cd4428aa6a049d5a6644103986db7ca74011 100644 (file)
@@ -1,3 +1,15 @@
+2001-11-10  Karl Eichwalder  <ke@suse.de>
+
+       * 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  <fx@gnu.org>
+            Bruno Haible  <haible@clisp.cons.org>
+
+       * po-mode.el: Doc fixes.
+       (po-mode-map): Put all in defvar.
+
 2001-08-23  Karl Eichwalder  <ke@suse.de>
 
        * po-mode.el (po-mode-map): Assign new Key bindings to avoid
index d9d518a285b6d62926f437248d5b8b55d4819a59..8e9770ef760da08b2a4d169ef43803801250d3b2 100644 (file)
@@ -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