Consider the following code:
(fido-mode 1)
(let ((answer (completing-read "Please enter nothing: " '("Something"))))
(if (string= answer "")
(message "You successfully entered nothing!")
(message "You failed :(")))
How can I ensure that answer
is the empty string (""
)?
Both RET
and C-j
return "Something"
.