diff --git a/lispref/minibuf.texi b/lispref/minibuf.texi index a920defb5be..0ac22829754 100644 --- a/lispref/minibuf.texi +++ b/lispref/minibuf.texi @@ -1023,12 +1023,14 @@ with other characters bound as in @code{minibuffer-local-map}. @defvar minibuffer-local-filename-completion-map This is like @code{minibuffer-local-completion-map} -except that it does not bind @key{SPC}. +except that it does not bind @key{SPC}. This keymap is used by the +function @code{read-file-name}. @end defvar @defvar minibuffer-local-must-match-filename-map This is like @code{minibuffer-local-must-match-map} -except that it does not bind @key{SPC}. +except that it does not bind @key{SPC}. This keymap is used by the +function @code{read-file-name}. @end defvar @node High-Level Completion @@ -1212,6 +1214,12 @@ value of @var{existing} is neither @code{nil} nor @code{t}, then @var{existing} is @code{nil}, then the name of a nonexistent file is acceptable. +The function @code{read-file-name} uses +@code{minibuffer-local-filename-completion-map} as the keymap if +@var{existing} is @code{nil}, and uses +@code{minibuffer-local-must-match-filename-map} if @var{existing} is +non-@code{nil}. @xref{Completion Commands}. + The argument @var{directory} specifies the directory to use for completion of relative file names. It should be an absolute directory name. If @code{insert-default-directory} is non-@code{nil},