summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cl-indent.el
diff options
context:
space:
mode:
authorŠtěpán Němec <stepnem@gmail.com>2020-02-29 19:43:53 +0100
committerStefan Monnier <monnier@iro.umontreal.ca>2020-03-03 10:52:27 -0500
commit0f94f698aa7ade7bad73ccae95dee69175460504 (patch)
tree5f2200c899398d43e1f0ce0a000069fc0bc5719a /lisp/emacs-lisp/cl-indent.el
parent8518b14a76ba7531a71df97994fe8a197a429d4a (diff)
downloademacs-0f94f698aa7ade7bad73ccae95dee69175460504.tar.gz
emacs-0f94f698aa7ade7bad73ccae95dee69175460504.tar.bz2
emacs-0f94f698aa7ade7bad73ccae95dee69175460504.zip
Use help-fns-short-filename in other describe- commands
The commit 2015-01-16T22:52:15-05:00!monnier@iro.umontreal.ca 24b7f77581 (Improve handling of doc-strings and describe-function for cl-generic) added 'help-fns-short-filename', which provides file name shortening smarter than a simple 'file-name-nondirectory' call, but besides the generic/eieio functions ('cl--generic-describe', 'cl--describe-class', 'eieio-help-constructor'), it is currently only used by 'describe-function' (via 'help-fns-function-description-header'). Make the other help commands use it, too. (Other than the obvious consistency/maintenance argument, my immediate motivation for this change is the possibility to customize the file name abbreviation by advising the function.) * lisp/help.el (describe-mode): Move to help-fns.el. The command was already depending on 'find-lisp-object-file-name' defined there. * lisp/help-fns.el (describe-variable) (describe-face) (describe-keymap) (describe-mode): Use 'help-fns-short-filename'.
Diffstat (limited to 'lisp/emacs-lisp/cl-indent.el')
0 files changed, 0 insertions, 0 deletions