summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorNelson Elhage <nelhage@ksplice.com>2010-05-11 11:38:44 -0400
committerCarl Worth <cworth@cworth.org>2010-06-03 18:17:03 -0700
commit35343710a2a64e80974aaf4d4222feb43474113a (patch)
tree4e0a30da56a3f97493da825ba1aaef20c17824ab /emacs
parent5ebf5efcb0ed316139f9c44a10ddffc09637f596 (diff)
emacs: Bind <backtab> (shift-TAB) to notmuch-show-previous-button
Shift-TAB is standard "opposite" of TAB -- in GUI interfaces they typically cycle through input elements in opposite orders -- so it makes sense to behave the same way. Signed-off-by: Nelson Elhage <nelhage@ksplice.com>
Diffstat (limited to 'emacs')
-rw-r--r--emacs/notmuch-show.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index 4b1baf3..b0815a0 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -548,6 +548,7 @@ function is used. "
(define-key map "?" 'notmuch-help)
(define-key map "q" 'kill-this-buffer)
(define-key map (kbd "M-TAB") 'notmuch-show-previous-button)
+ (define-key map (kbd "<backtab>") 'notmuch-show-previous-button)
(define-key map (kbd "TAB") 'notmuch-show-next-button)
(define-key map "s" 'notmuch-search)
(define-key map "m" 'notmuch-mua-mail)