diff options
| author | David Bremner <david@tethera.net> | 2022-02-12 16:27:40 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-02-26 08:00:11 -0400 |
| commit | 19cf3910a553e5325d8da3a73669c6c452dbd99c (patch) | |
| tree | 96f8ef7a4afbe7e46f15303914d8dd396a2d4dd9 /emacs/notmuch-lib.el | |
| parent | cc2c3a383d12ce421c5ec1bdfb7bfacc60a0f368 (diff) | |
emacs: redirect undo to notmuch-tag-undo
The double remap is a bit ugly, but it seems better than adding
another layer of keymaps for those modes where notmuch-tag-undo makes
sense.
Diffstat (limited to 'emacs/notmuch-lib.el')
| -rw-r--r-- | emacs/notmuch-lib.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index 45817e13..6fc71cc7 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -166,6 +166,7 @@ For example, if you wanted to remove an \"inbox\" tag and add an (define-key map (kbd "M-=") 'notmuch-refresh-all-buffers) (define-key map "G" 'notmuch-poll-and-refresh-this-buffer) (define-key map "j" 'notmuch-jump-search) + (define-key map [remap undo] 'notmuch-tag-undo) map) "Keymap shared by all notmuch modes.") |
