(lambda (f) (if want-command
(commandp f)
(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
+ ;; We used `confirm' for a while because we may want to see the
+ ;; meta-info about a function even if the function itself is not
+ ;; defined, but this use case is too marginal and rarely tested,
+ ;; not worth the trouble (bug#64902).
+ t nil nil
(and fn (symbol-name fn)))))
(unless (equal val "")
(setq fn (intern val)))