]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
po-mode: Fix bug in po-previous-translated-entry function.
authorNoritada Kobayashi <nori1@dolphin.c.u-tokyo.ac.jp>
Sun, 9 May 2010 00:16:55 +0000 (02:16 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 9 May 2010 00:31:35 +0000 (02:31 +0200)
gettext-tools/misc/ChangeLog
gettext-tools/misc/po-mode.el

index 66c46ef55653c8def01ba92157cbbbb6014accf5..1d63f8aaaba92562361351c1b07579c362a228dd 100644 (file)
@@ -1,3 +1,11 @@
+2010-05-08  Noritada Kobayashi  <nori1@dolphin.c.u-tokyo.ac.jp>
+
+       po-mode: Fix bug in po-previous-translated-entry function.
+       * po-mode.el (po-previous-translated-entry): Use correct regular
+       expression.
+       Reported via Santiago Vila in
+       <http://lists.gnu.org/archive/html/bug-gnu-utils/2008-08/msg00039.html>.
+
 2010-05-08  Noritada Kobayashi  <nori1@dolphin.c.u-tokyo.ac.jp>
             Bruno Haible  <bruno@clisp.org>
 
index 00222696af867ea44ce14d659f31d5ce43eaddd8..ce97d8a76ce993db5da65c458e620d2776e6289c 100644 (file)
@@ -1777,7 +1777,7 @@ which does not match exactly.")
     (po-previous-entry-with-regexp po-any-msgstr-block-regexp t)
     (po-find-span-of-entry)
     (while (not (eq po-entry-type 'translated))
-      (po-previous-entry-with-regexp po-untranslated-regexp t)
+      (po-previous-entry-with-regexp po-any-msgstr-block-regexp t)
       (po-find-span-of-entry))))
 
 ;; Auto-selection feature.