]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Rename po-start-of-this-msgstr and po-end-of-this-msgstr.
authorBruno Haible <bruno@clisp.org>
Sun, 14 Oct 2007 22:19:52 +0000 (22:19 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:15:17 +0000 (12:15 +0200)
gettext-tools/misc/ChangeLog
gettext-tools/misc/po-mode.el

index 25532e37fe37c9959b178dc428850864e30d821a..88ff79dfe60e40330a5d46ea3d4c26ab6f126c3a 100644 (file)
@@ -1,5 +1,9 @@
 2007-10-14  Bruno Haible  <bruno@clisp.org>
 
+       * po-mode.el (po-start-of-msgstr-form): Renamed from
+       po-start-of-this-msgstr.
+       (po-end-of-msgstr-form): Renamed from po-end-of-this-msgstr.
+
        * po-mode.el (po-start-of-msgstr-block): Renamed from
        po-start-of-msgstr.
 
index dc5c6b89c738fd4c43621b535a52ad65e7bee412..14af9039b847127f5c1fb06e7a77651b9215fd7f 100644 (file)
@@ -1486,8 +1486,8 @@ untranslated or translated."
     (re-search-backward "^\\(#~[ \t]*\\)?msgstr"))
   ;; detect the bounderies of the msgstr we are interested in
   (re-search-forward po-any-msgstr-form-regexp)
-  (setq po-start-of-this-msgstr (match-beginning 0)
-        po-end-of-this-msgstr (match-end 0)))
+  (setq po-start-of-msgstr-form (match-beginning 0)
+        po-end-of-msgstr-form (match-end 0)))
 
 (defun po-add-attribute (name)
   "Add attribute NAME to the current entry, unless it is already there."
@@ -1920,8 +1920,8 @@ If KILL, then add the unquoted string to the kill ring."
 If KILL, then add the unquoted string to the kill ring."
   (let ((flavor (po-get-msgstr-flavor))
         (string (po-extract-unquoted (current-buffer)
-                                     po-start-of-this-msgstr
-                                     po-end-of-this-msgstr)))
+                                     po-start-of-msgstr-form
+                                     po-end-of-msgstr-form)))
     (setq po-this-msgstr-flavor flavor)
     (if kill (po-kill-new string))
     string))
@@ -1990,8 +1990,8 @@ described by FORM is merely identical to the msgstr already in place."
                                   po-this-msgstr-flavor
                                   (eq po-entry-type 'obsolete))))
     (save-excursion
-      (goto-char po-start-of-this-msgstr)
-      (re-search-forward po-any-msgstr-form-regexp po-end-of-this-msgstr)
+      (goto-char po-start-of-msgstr-form)
+      (re-search-forward po-any-msgstr-form-regexp po-end-of-msgstr-form)
       (and (not (string-equal (po-match-string 0) string))
            (let ((buffer-read-only po-read-only))
              (po-decrease-type-counter)
@@ -2313,7 +2313,7 @@ When done with the `ediff' session press \\[exit-recursive-edit] exit to
     (cond ((= (point) po-start-of-msgid)
            (po-set-comment string)
            (po-redisplay))
-          ((= (point) po-start-of-this-msgstr)
+          ((= (point) po-start-of-msgstr-form)
            (let ((replaced (po-set-msgstr-new string)))
              (if (and replaced
                       po-auto-fuzzy-on-edit
@@ -2339,7 +2339,7 @@ When done with the `ediff' session press \\[exit-recursive-edit] exit to
     (cond ((= (point) po-start-of-msgid)
            (po-set-comment string)
            (po-redisplay))
-          ((= (point) po-start-of-this-msgstr)
+          ((= (point) po-start-of-msgstr-form)
            (let ((replaced (po-set-msgstr-new string)))
              (if (and replaced
                       po-auto-fuzzy-on-edit
@@ -2404,7 +2404,7 @@ TYPE may be 'comment or 'msgstr.  If EXPAND-TABS, expand tabs to spaces.
 Run functions on po-subedit-mode-hook."
   (let ((marker (make-marker)))
     (set-marker marker (cond ((eq type 'comment) po-start-of-msgid)
-                             ((eq type 'msgstr) po-start-of-this-msgstr)))
+                             ((eq type 'msgstr) po-start-of-msgstr-form)))
     (if (po-check-for-pending-edit marker)
         (let ((edit-buffer (generate-new-buffer
                             (concat "*" (buffer-name) "*")))