|
From: | Thierry Volpiatto |
Subject: | Re: completing-read, empty collection, require match |
Date: | Sun, 05 Dec 2021 11:21:43 +0000 |
Qiantan Hong <qthong@stanford.edu> writes: > (completing-read "test: " nil nil t) > will pop up a prompt in mini buffer, pretend asking you for something > and then inevitably fail. > > Is there some rationale behind the current behavior? > Failing immediately seems strictly more efficient. Helm is now quitting when collection is empty and require-match is strict (i.e. `t'). (completing-read "test: " nil nil t) => Quit. (completing-read "test: " nil nil) => Returns input. (completing-read "test: " nil nil 'confirm) => Returns input after confirmation (press RET twice). -- Thierry
[Prev in Thread] | Current Thread | [Next in Thread] |