summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-08-26 14:08:21 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-08-26 14:08:21 +0200
commitbe7af20e732db65c33f5d41402675a403416ce7b (patch)
tree2ee19fb93ce44429fd9ba06409d284768c1485ad /lisp/help-fns.el
parent0985c0e6c6f1da712d3a48fa88af2861bf218d60 (diff)
downloademacs-be7af20e732db65c33f5d41402675a403416ce7b.tar.gz
Use format-prompt a couple of places
* lisp/ps-print.el (ps-print-preprint): * lisp/help-fns.el (describe-function): Use `format-prompt' (bug#12443).
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r--lisp/help-fns.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index a137c504888..d302c05283c 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -152,7 +152,7 @@ When called from lisp, FUNCTION may also be a function object."
(enable-recursive-minibuffers t)
(val (completing-read
(if fn
- (format "Describe function (default %s): " fn)
+ (format-prompt "Describe function" fn)
"Describe function: ")
#'help--symbol-completion-table
(lambda (f) (or (fboundp f) (get f 'function-documentation)))