]> git.eshelyaron.com Git - emacs.git/commit
(describe-symbol-backends): Fix addition of the "type" backend
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 21 Mar 2024 22:27:03 +0000 (18:27 -0400)
committerEshel Yaron <me@eshelyaron.com>
Sun, 24 Mar 2024 14:18:34 +0000 (15:18 +0100)
commit7b8e391517062d4e2c1118901f0435880ba7308b
treee234153a0f6ad4d032b8079bab827d0cb89d80bb
parente758b189fbfc1c337bdf3443bc9c59a52e42a48c
(describe-symbol-backends): Fix addition of the "type" backend

That backend was added from `cl-extra.el` with no autoload, so
(describe-symbol `advice) failed to show the info about
the `advice` type unless `cl-extra.el` had been loaded beforehand.
`C-h o RET advice RET` worked by accident because the completion
table uses `cl-some` which is autoloaded from `cl-extra.el`.

* lisp/help-mode.el (describe-symbol-backends): Add the "type" backend.
* lisp/emacs-lisp/cl-extra.el (describe-symbol-backends): Don't add the
"type" backend here.

(cherry picked from commit 2000d6e0f27f9f34f343016f4aa93e09c29c8695)
lisp/emacs-lisp/cl-extra.el
lisp/help-mode.el