mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-31 14:43:40 -05:00
define-key! -> global-set-key
In case general hasn't been installed yet.
This commit is contained in:
@@ -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."
|
||||||
|
Reference in New Issue
Block a user