diff options
author | Eli Zaretskii <eliz@gnu.org> | 2023-08-03 11:26:32 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-08-03 11:26:32 +0300 |
commit | db7d70d3cadd9f7825b8d279c512c03706ca580e (patch) | |
tree | e4c6ab6d5dd11debc49f28c33a5c359d4ccb6165 /lisp/help-fns.el | |
parent | d005b2c89ce6075dca9a4b728e0dfef6f11e6118 (diff) | |
download | emacs-db7d70d3cadd9f7825b8d279c512c03706ca580e.tar.gz emacs-db7d70d3cadd9f7825b8d279c512c03706ca580e.tar.bz2 emacs-db7d70d3cadd9f7825b8d279c512c03706ca580e.zip |
; Add commentary to 'describe-function's completion
* lisp/help-fns.el
(help-fns--describe-function-or-command-prompt): Add a comment
(bug#64902).
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r-- | lisp/help-fns.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 044bcf8b51f..068c3a5b559 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -229,6 +229,10 @@ interactive command." (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 (and fn (symbol-name fn))))) (unless (equal val "") |