[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: po-mode undo command
From: |
Bruno Haible |
Subject: |
Re: po-mode undo command |
Date: |
Fri, 25 May 2007 02:21:14 +0200 |
User-agent: |
KMail/1.5.4 |
Kevin Ryde wrote:
> In po-mode.el I see there's a po-undo command bound to "_". It'd be
> nice if the usual undo key "C-_" was bound to po-undo as well, for those
> like me who by force of habit keep hitting C-_.
Makes sense. This patch should do it. Thanks for the suggestion.
2007-05-24 Bruno Haible <address@hidden>
* po-mode.el (po-mode-map): Bind po-undo also to Ctrl-_.
Suggested by Kevin Ryde <address@hidden>.
*** po-mode.el 20 Jul 2006 19:03:09 -0000 1.5
--- po-mode.el 25 May 2007 00:19:41 -0000
***************
*** 1011,1016 ****
--- 1011,1017 ----
(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)