mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 19:29:37 +00:00
; Add commentary to 'describe-function's completion
* lisp/help-fns.el (help-fns--describe-function-or-command-prompt): Add a comment (bug#64902).
This commit is contained in:
parent
d005b2c89c
commit
db7d70d3ca
1 changed files with 4 additions and 0 deletions
|
@ -229,6 +229,10 @@ interactive command."
|
||||||
(lambda (f) (if want-command
|
(lambda (f) (if want-command
|
||||||
(commandp f)
|
(commandp f)
|
||||||
(or (fboundp f) (get f 'function-documentation))))
|
(or (fboundp f) (get f 'function-documentation))))
|
||||||
|
;; We use 'confirm' here, unlike in other describe-*
|
||||||
|
;; commands, for cases like a function that is advised
|
||||||
|
;; but not yet defined (e.g., if 'advice-add' is called
|
||||||
|
;; before defining the function).
|
||||||
'confirm nil nil
|
'confirm nil nil
|
||||||
(and fn (symbol-name fn)))))
|
(and fn (symbol-name fn)))))
|
||||||
(unless (equal val "")
|
(unless (equal val "")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue