From fd5d7b992ba77c8e26cdf4adce74f22077fc038d Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 25 May 2007 00:20:17 +0000 Subject: [PATCH] Bind po-undo also to the usual Undo key. --- gettext-tools/misc/ChangeLog | 5 +++++ gettext-tools/misc/po-mode.el | 1 + 2 files changed, 6 insertions(+) diff --git a/gettext-tools/misc/ChangeLog b/gettext-tools/misc/ChangeLog index b5ee9d0e2..cab1394eb 100644 --- a/gettext-tools/misc/ChangeLog +++ b/gettext-tools/misc/ChangeLog @@ -1,3 +1,8 @@ +2007-05-24 Bruno Haible + + * po-mode.el (po-mode-map): Bind po-undo also to Ctrl-_. + Suggested by Kevin Ryde . + 2007-04-06 Bruno Haible * gettextize.in (m4filelist): Remove longdouble.m4 from the list. diff --git a/gettext-tools/misc/po-mode.el b/gettext-tools/misc/po-mode.el index 222d9bec6..ebfbd7443 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 "W" 'po-kill-ring-save-comment) (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 "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) -- 2.47.3