changeset 67499:91703011b252

(Completion Commands): Add mention of read-file-name for filename completion keymaps. (Reading File Names): Add mention of filename completion keymaps for read-file-name and xref to `Completion Commands'.
author Juri Linkov <juri@jurta.org>
date Sun, 11 Dec 2005 09:56:45 +0000
parents 30baecf371f9
children e94d15e8e9b3
files lispref/minibuf.texi
diffstat 1 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/minibuf.texi	Sun Dec 11 09:50:53 2005 +0000
+++ b/lispref/minibuf.texi	Sun Dec 11 09:56:45 2005 +0000
@@ -1023,12 +1023,14 @@
 
 @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 @@
 @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},