Skip to content

Commit

Permalink
Inherit aurel-info-mode-map from special-mode-map
Browse files Browse the repository at this point in the history
  • Loading branch information
alezost committed Mar 10, 2014
1 parent fffd125 commit 6fe99d7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions aurel.el
Original file line number Diff line number Diff line change
Expand Up @@ -1892,14 +1892,12 @@ Car of each assoc is a symbol from `aurel-param-description-alist'.
Cdr - is a value (number or string) of that parameter.")

(defvar aurel-info-mode-map
(let ((map (make-sparse-keymap)))
(define-key map "q" 'quit-window)
(let ((map (copy-keymap special-mode-map)))
(define-key map "d" 'aurel-info-download-package)
(define-key map "\t" 'forward-button)
(define-key map [backtab] 'backward-button)
(define-key map "l" 'aurel-history-back)
(define-key map "r" 'aurel-history-forward)
(define-key map "g" 'revert-buffer)
(define-key map "v" 'aurel-info-vote-unvote)
(define-key map "s" 'aurel-info-subscribe-unsubscribe)
map)
Expand Down

0 comments on commit 6fe99d7

Please sign in to comment.