diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-03-21 19:40:20 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-03-21 19:40:20 -0400 |
commit | a1f8702e8345254e6898d35e554bdc06ab09c3ca (patch) | |
tree | 1f8f71d5900b218a9236f350ee5c15903bd6196c /lisp/emacs-lisp/cursor-sensor.el | |
parent | 946280365d40104dffd5329eebefc02329f72041 (diff) | |
download | emacs-a1f8702e8345254e6898d35e554bdc06ab09c3ca.tar.gz emacs-a1f8702e8345254e6898d35e554bdc06ab09c3ca.tar.bz2 emacs-a1f8702e8345254e6898d35e554bdc06ab09c3ca.zip |
(help-fns-function-name): New function
Consolidate code used in profiler and help--describe-command,
and improve it while we're at it.
Also use #' to quote a few function names along the way.
* lisp/help-fns.el (help-fns--function-numbers, help-fns--function-names):
New vars.
(help-fns--display-function): New aux function.
(help-fns-function-name): New function, inspired from
`help--describe-command`.
* lisp/help.el (help--describe-command): Use `help-fns-function-name`.
(help--for-help-make-sections): Remove redundant "" arg to `mapconcat`.
* lisp/profiler.el (profiler-format-entry, profiler-fixup-entry):
Delete functions.
(profiler-report-make-entry-part): Use `help-fns-function-name` instead.
(profiler-report-find-entry): Use `push-button`.
* lisp/transient.el (transient--debug): Use `help-fns-function-name`
when available.
Diffstat (limited to 'lisp/emacs-lisp/cursor-sensor.el')
0 files changed, 0 insertions, 0 deletions