diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-03-21 21:08:58 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-03-22 08:47:13 -0400 |
commit | accd79c93935b50dddfcd6fe7fb6912c80bcddb1 (patch) | |
tree | 37e71ac3698f7f0f658848f1626bfcb25e6725fd /lisp/emacs-lisp/smie.el | |
parent | c1530a2e4973005633ebe00d447f1f3aa1200301 (diff) | |
download | emacs-accd79c93935b50dddfcd6fe7fb6912c80bcddb1.tar.gz emacs-accd79c93935b50dddfcd6fe7fb6912c80bcddb1.tar.bz2 emacs-accd79c93935b50dddfcd6fe7fb6912c80bcddb1.zip |
(help-fns-function-description-header): Print functions' type
Instead of choosing English words to describe the kind of function,
use the actual type of the function object (from `cl-type-of`)
directly, and make it a button to display info about that type.
* lisp/help-fns.el (help-fns-function-description-header): Use the
function's type name in the description instead of "prose".
Use `insert` instead of `princ`, so as to preserve the text-properties
of the button.
* lisp/emacs-lisp/cl-extra.el (cl-help-type): Move to `help-mode.el`
and rename to `help-type`.
(cl--describe-class): Adjust accordingly.
* lisp/help-mode.el (help-type): New type, moved and renamed from
`cl-extra.el`.
Diffstat (limited to 'lisp/emacs-lisp/smie.el')
0 files changed, 0 insertions, 0 deletions