Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit ba44e6db1ce03c397a1ecc2bdeb5f5a5e32cdf80 1 parent 3667ac4
@milkypostman milkypostman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  modules/starter-kit-bindings.el
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)
Please sign in to comment.
Something went wrong with that request. Please try again.