summaryrefslogtreecommitdiffstats
path: root/gettext-tools/misc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-06-17 23:45:23 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:14:56 +0200
commit8269f9bfc07d157da5035259a9bffe514b2d587e (patch)
tree95fb6ce476c7cd2f5ae80dddd35debdcc778d923 /gettext-tools/misc
parente2dc6d5483ba0466621404897b8781362b884686 (diff)
downloadexternal_gettext-8269f9bfc07d157da5035259a9bffe514b2d587e.zip
external_gettext-8269f9bfc07d157da5035259a9bffe514b2d587e.tar.gz
external_gettext-8269f9bfc07d157da5035259a9bffe514b2d587e.tar.bz2
Map Ctrl-x u to po-undo.
Diffstat (limited to 'gettext-tools/misc')
-rw-r--r--gettext-tools/misc/ChangeLog4
-rw-r--r--gettext-tools/misc/po-mode.el1
2 files changed, 5 insertions, 0 deletions
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 <bruno@clisp.org>
+ * po-mode.el (po-mode-map): Bind po-undo also to Ctrl-x u.
+
+2007-06-17 Bruno Haible <bruno@clisp.org>
+
* 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)