summaryrefslogtreecommitdiff
path: root/lisp/help-mode.el
diff options
context:
space:
mode:
authorSam Steingold <sds@gnu.org>2012-06-08 00:23:26 -0400
committerSam Steingold <sds@gnu.org>2012-06-08 00:23:26 -0400
commit3d10db47a7a538696684a1f93f0f21509e688394 (patch)
treee5f205a3d0b9704425307843e63e281fe7bfd98d /lisp/help-mode.el
parentde7e2b368752bfc3cef17a8c82f6b3aec72bc649 (diff)
downloademacs-3d10db47a7a538696684a1f93f0f21509e688394.tar.gz
* lisp/bindings.el (global-map): Bind XF86Forward to next-buffer and
XF86Back to previous-buffer. (minibuffer-local-map): Bind them to next-history-element and previous-history-element respectively. * lisp/help-mode.el (help-mode-map): Bind them to help-go-forward and help-go-back respectively. * lisp/info.el (Info-mode-map): Bind them to Info-history-forward and Info-history-back respectively. These are the keys next to Up on the ThinkPad keyboard.
Diffstat (limited to 'lisp/help-mode.el')
-rw-r--r--lisp/help-mode.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/help-mode.el b/lisp/help-mode.el
index b471962f21d..eb0834e243a 100644
--- a/lisp/help-mode.el
+++ b/lisp/help-mode.el
@@ -40,6 +40,8 @@
(define-key map [mouse-2] 'help-follow-mouse)
(define-key map "\C-c\C-b" 'help-go-back)
(define-key map "\C-c\C-f" 'help-go-forward)
+ (define-key map [XF86Back] 'help-go-back)
+ (define-key map [XF86Forward] 'help-go-forward)
(define-key map "\C-c\C-c" 'help-follow-symbol)
(define-key map "\r" 'help-follow)
map)