summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2005-12-11 09:56:45 +0000
committerJuri Linkov <juri@jurta.org>2005-12-11 09:56:45 +0000
commit5a027eaed3a19fbeb9465bdfd732b8c163a07b17 (patch)
tree3c7b10d67c083eba6f700fa0c4c6aa01f3fdba68 /lispref
parent5203cd0380a012c4606dd00e2383333ee14548dc (diff)
downloademacs-5a027eaed3a19fbeb9465bdfd732b8c163a07b17.tar.gz
(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'.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/minibuf.texi12
1 files changed, 10 insertions, 2 deletions
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},