bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsi


From: Juri Linkov
Subject: bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy)
Date: Wed, 09 Sep 2020 21:50:06 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> Sixth arg DEFAULT-VALUE, if non-nil, should be a string, which is used
>   as the default to ‘read’ if READ is non-nil and the user enters
>   empty input.  But if READ is nil, this function does _not_ return
>   DEFAULT-VALUE for empty input!  Instead, it returns the empty string.
>
> But what a...  strange interface.

It seems this "default" value is needed here only for convenience
of retrieving it into the minibuffer for editing using the M-n key.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]