From 8269f9bfc07d157da5035259a9bffe514b2d587e Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 17 Jun 2007 23:45:23 +0000 Subject: Map Ctrl-x u to po-undo. --- gettext-tools/misc/ChangeLog | 4 ++++ gettext-tools/misc/po-mode.el | 1 + 2 files changed, 5 insertions(+) (limited to 'gettext-tools/misc') diff --git a/gettext-tools/misc/ChangeLog b/gettext-tools/misc/ChangeLog index 72a46b2..80c847d 100644 --- a/gettext-tools/misc/ChangeLog +++ b/gettext-tools/misc/ChangeLog @@ -1,5 +1,9 @@ 2007-06-17 Bruno Haible + * po-mode.el (po-mode-map): Bind po-undo also to Ctrl-x u. + +2007-06-17 Bruno Haible + * po-mode.el (po-any-msgstr-regexp): Add support for plural forms. The patch from 2001-03-10 did not work. (po-untranslated-regexp): Recognize also empty msgstr[i] values. diff --git a/gettext-tools/misc/po-mode.el b/gettext-tools/misc/po-mode.el index ca1732b..d296b02 100644 --- a/gettext-tools/misc/po-mode.el +++ b/gettext-tools/misc/po-mode.el @@ -1011,6 +1011,7 @@ Initialize or replace current translation with the original message"))]) (define-key po-mode-map "Y" 'po-yank-comment) (define-key po-mode-map "_" 'po-undo) (define-key po-mode-map "\C-_" 'po-undo) + (define-key po-mode-map "\C-xu" 'po-undo) (define-key po-mode-map "0" 'po-other-window) (define-key po-mode-map "\177" 'po-fade-out-entry) (define-key po-mode-map "\C-c\C-a" 'po-select-auxiliary) -- cgit v1.1