Permalink
Browse files

Use help-command variable to change apropos.

Instead of doing a global-set-key for C-h, use the help-command
variable. This way, if people have C-h bound to something else,
package.el will not throw an error while installing this package.
  • Loading branch information...
1 parent 3667ac4 commit ba44e6db1ce03c397a1ecc2bdeb5f5a5e32cdf80 @milkypostman milkypostman committed Dec 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/starter-kit-bindings.el
View
2 modules/starter-kit-bindings.el
@@ -91,7 +91,7 @@
(global-set-key (kbd "C-c x") 'execute-extended-command)
;; Help should search more than just commands
- (global-set-key (kbd "C-h a") 'apropos)
+ (define-key 'help-command "a" 'apropos)
;; Should be able to eval-and-replace anywhere.
(global-set-key (kbd "C-c e") 'esk-eval-and-replace)

0 comments on commit ba44e6d

Please sign in to comment.