Merge pull request #551 from toctan/fix-define-key

Fix define-key 'help-command
This commit is contained in:
Bozhidar Batsov 2014-05-27 12:15:51 +03:00
commit 381d781035
2 changed files with 3 additions and 1 deletions

View file

@ -65,6 +65,9 @@
;; A complementary binding to the apropos-command (C-h a) ;; A complementary binding to the apropos-command (C-h a)
(define-key 'help-command "A" 'apropos) (define-key 'help-command "A" 'apropos)
;; A quick major mode help with discover-my-major
(define-key 'help-command (kbd "C-m") 'discover-my-major)
(define-key 'help-command (kbd "C-f") 'find-function) (define-key 'help-command (kbd "C-f") 'find-function)
(define-key 'help-command (kbd "C-k") 'find-function-on-key) (define-key 'help-command (kbd "C-k") 'find-function-on-key)
(define-key 'help-command (kbd "C-v") 'find-variable) (define-key 'help-command (kbd "C-v") 'find-variable)

View file

@ -65,7 +65,6 @@
(define-key map (kbd "C-c h") 'helm-prelude) (define-key map (kbd "C-c h") 'helm-prelude)
(define-key map (kbd "C-c I") 'prelude-find-user-init-file) (define-key map (kbd "C-c I") 'prelude-find-user-init-file)
(define-key map (kbd "C-c S") 'prelude-find-shell-init-file) (define-key map (kbd "C-c S") 'prelude-find-shell-init-file)
(define-key map 'help-command (kbd "C-m") 'discover-my-major)
;; make some use of the Super key ;; make some use of the Super key
(define-key map [?\s-d] 'projectile-find-dir) (define-key map [?\s-d] 'projectile-find-dir)
(define-key map [?\s-p] 'projectile-switch-project) (define-key map [?\s-p] 'projectile-switch-project)