Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6ecb21f1
Commit
6ecb21f1
authored
Sep 18, 1996
by
Richard M. Stallman
Browse files
Clarify how completing-read returns an empty string.
parent
fab95625
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
lispref/minibuf.texi
lispref/minibuf.texi
+5
-4
No files found.
lispref/minibuf.texi
View file @
6ecb21f1
...
...
@@ -601,10 +601,11 @@ commands won't exit unless the input typed is itself an element of
commands work regardless of the input in the minibuffer.
The user can exit with null input by typing @key{RET} with an empty
minibuffer. Then @code{completing-read} returns @code{nil}. This is
how the user requests whatever default the command uses for the value
being read. The user can return using @key{RET} in this way regardless
of the value of @var{require-match}.
minibuffer. Then @code{completing-read} returns @code{""}. This is how
the user requests whatever default the command uses for the value being
read. The user can return using @key{RET} in this way regardless of the
value of @var{require-match}, and regardless of whether the empty string
is included in @var{collection}.
The function @code{completing-read} works by calling
@code{read-minibuffer}. It uses @code{minibuffer-local-completion-map}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment