]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Rename po-this-msgstr-flavor.
authorBruno Haible <bruno@clisp.org>
Wed, 17 Oct 2007 23:30:26 +0000 (23:30 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:15:19 +0000 (12:15 +0200)
gettext-tools/misc/ChangeLog
gettext-tools/misc/po-mode.el

index 49014d3d7cefd28f3a33e1b9ae6bc6a47f4b8fd4..66d7fd13b09ffb363a7693a4687a4c4710c1ca14 100644 (file)
@@ -1,3 +1,8 @@
+2007-10-17  Bruno Haible  <bruno@clisp.org>
+
+        * po-mode.el (po-msgstr-form-flavor): Renamed from
+        po-this-msgstr-flavor. New defvar.
+
 2007-10-15  Bruno Haible  <bruno@clisp.org>
 
        * po-mode.el (po-get-msgstr-form): Remove 'kill' argument.
index 61a6c29a9e60d86f98fdb81b21900de723416341..180eda1313005b7c37cfa6213ae6c1d5da047b8d 100644 (file)
@@ -693,6 +693,7 @@ No doubt that highlighting, when Emacs does not allow it, is a kludge."
 (defvar po-end-of-msgstr-form)
 (defvar po-end-of-entry)
 (defvar po-entry-type)
+(defvar po-msgstr-form-flavor)
 
 ;; A few counters are usefully shown in the Emacs mode line.
 (defvar po-translated-counter)
@@ -1902,7 +1903,7 @@ If FORM is itself a string, then this string is used for insertion."
         (string (po-extract-unquoted (current-buffer)
                                      po-start-of-msgstr-form
                                      po-end-of-msgstr-form)))
-    (setq po-this-msgstr-flavor flavor)
+    (setq po-msgstr-form-flavor flavor)
     string))
 
 (defun po-set-msgid (form)
@@ -1933,7 +1934,7 @@ is properly requoted before the replacement occurs.
 Returns 'nil' if the buffer has not been modified, for if the new msgstr
 described by FORM is merely identical to the msgstr already in place."
   (let ((string (po-eval-requoted form
-                                  po-this-msgstr-flavor
+                                  po-msgstr-form-flavor
                                   (eq po-entry-type 'obsolete))))
     (save-excursion
       (goto-char po-start-of-msgstr-form)