define-key! -> global-set-key
In case general hasn't been installed yet.
This commit is contained in:
parent
ffcc24350c
commit
f49913fc9e
1 changed files with 5 additions and 6 deletions
|
@ -379,12 +379,11 @@ files, so we replace calls to `pp' with the much faster `prin1'."
|
||||||
;; a better *help* buffer
|
;; a better *help* buffer
|
||||||
:commands helpful--read-symbol
|
:commands helpful--read-symbol
|
||||||
:init
|
:init
|
||||||
(define-key!
|
(global-set-key [remap describe-function] #'helpful-callable)
|
||||||
[remap describe-function] #'helpful-callable
|
(global-set-key [remap describe-command] #'helpful-command)
|
||||||
[remap describe-command] #'helpful-command
|
(global-set-key [remap describe-variable] #'helpful-variable)
|
||||||
[remap describe-variable] #'helpful-variable
|
(global-set-key [remap describe-key] #'helpful-key)
|
||||||
[remap describe-key] #'helpful-key
|
(global-set-key [remap describe-symbol] #'doom/describe-symbol)
|
||||||
[remap describe-symbol] #'doom/describe-symbol)
|
|
||||||
|
|
||||||
(defun doom-use-helpful-a (orig-fn &rest args)
|
(defun doom-use-helpful-a (orig-fn &rest args)
|
||||||
"Force ORIG-FN to use helpful instead of the old describe-* commands."
|
"Force ORIG-FN to use helpful instead of the old describe-* commands."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue