]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: add global keybinding M-= for refresh all buffers
authorMark Walters <markwalters1009@gmail.com>
Sat, 15 Oct 2016 07:32:46 +0000 (08:32 +0100)
committerDavid Bremner <david@tethera.net>
Mon, 17 Oct 2016 12:07:54 +0000 (09:07 -0300)
We can't use c-u = as some of the notmuch-show refresh function
already uses that. This is a global keybinding for a relatively
infrequent function but M-= seems unlikely to cause conflicts.

emacs/notmuch-lib.el

index 7cb1169cd236632ae2a12be405fb7e863c9f16a1..1f0d1678466479d72cfb65532bb0b15149d0dde4 100644 (file)
@@ -151,6 +151,7 @@ For example, if you wanted to remove an \"inbox\" tag and add an
     (define-key map "z" 'notmuch-tree)
     (define-key map "m" 'notmuch-mua-new-mail)
     (define-key map "=" 'notmuch-refresh-this-buffer)
+    (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)
     map)