projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ac8cd3
)
Fix previous format-prompt change: The default can be a symbol
author
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 24 Mar 2021 17:29:11 +0000
(18:29 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 24 Mar 2021 17:29:11 +0000
(18:29 +0100)
* lisp/minibuffer.el (format-prompt): The default can also be a
symbol.
lisp/minibuffer.el
patch
|
blob
|
history
diff --git
a/lisp/minibuffer.el
b/lisp/minibuffer.el
index 1c9b2689425f5a43763d982a42a71eafcc390a81..5f594679ca353ee3860ff41af8639f69c1e823b0 100644
(file)
--- a/
lisp/minibuffer.el
+++ b/
lisp/minibuffer.el
@@
-3948,7
+3948,8
@@
is included in the return value."
prompt
(apply #'format prompt format-args))
(and default
- (length> default 0)
+ (or (not (stringp default))
+ (length> default 0))
(format minibuffer-default-prompt-format
(if (consp default)
(car default)