]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-lib.el
emacs: redirect undo to notmuch-tag-undo
[notmuch] / emacs / notmuch-lib.el
index 45817e1311dc7d4f4940e8573a924e05f7d9f10e..6fc71cc737995a5f4a66d205a0be58e458281ab3 100644 (file)
@@ -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.")