From: Noritada Kobayashi Date: Sun, 9 May 2010 00:16:55 +0000 (+0200) Subject: po-mode: Fix bug in po-previous-translated-entry function. X-Git-Tag: v0.18~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a51965815e0cf26bf2cc782b07eeb30f6dd8b02;p=thirdparty%2Fgettext.git po-mode: Fix bug in po-previous-translated-entry function. --- diff --git a/gettext-tools/misc/ChangeLog b/gettext-tools/misc/ChangeLog index 66c46ef55..1d63f8aaa 100644 --- a/gettext-tools/misc/ChangeLog +++ b/gettext-tools/misc/ChangeLog @@ -1,3 +1,11 @@ +2010-05-08 Noritada Kobayashi + + 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 + . + 2010-05-08 Noritada Kobayashi Bruno Haible diff --git a/gettext-tools/misc/po-mode.el b/gettext-tools/misc/po-mode.el index 00222696a..ce97d8a76 100644 --- a/gettext-tools/misc/po-mode.el +++ b/gettext-tools/misc/po-mode.el @@ -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.