fix(emacs-lisp): unremap describe-symbol to helpful-symbol

The latter can't look up cl types. Rather than remap it globally, allow
folks to bind them separately.
This commit is contained in:
Henrik Lissner 2024-09-14 02:01:50 -04:00
parent b681504582
commit d34770407c
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -273,7 +273,7 @@ See `+emacs-lisp-non-package-mode' for details.")
(global-set-key [remap describe-command] #'helpful-command)
(global-set-key [remap describe-variable] #'helpful-variable)
(global-set-key [remap describe-key] #'helpful-key)
(global-set-key [remap describe-symbol] #'helpful-symbol)
;; (global-set-key [remap describe-symbol] #'helpful-symbol)
(defun doom-use-helpful-a (fn &rest args)
"Force FN to use helpful instead of the old describe-* commands."