aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorMark Walters <markwalters1009@gmail.com>2016-10-15 08:32:46 +0100
committerDavid Bremner <david@tethera.net>2016-10-17 09:07:54 -0300
commit2f643ac763e4e2f2b1951f0f1197af951c8b2575 (patch)
treec9bc57b3fb877ab5883f3883438dfa474cc28b3f /emacs
parent02d3c7610297437da5ddc414e16cd1fabf95dcfb (diff)
emacs: add global keybinding M-= for refresh all buffers
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.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/notmuch-lib.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
index 7cb1169c..1f0d1678 100644
--- a/emacs/notmuch-lib.el
+++ b/emacs/notmuch-lib.el
@@ -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)