diff options
| author | Juri Linkov | 2005-12-11 09:56:45 +0000 |
|---|---|---|
| committer | Juri Linkov | 2005-12-11 09:56:45 +0000 |
| commit | 5a027eaed3a19fbeb9465bdfd732b8c163a07b17 (patch) | |
| tree | 3c7b10d67c083eba6f700fa0c4c6aa01f3fdba68 | |
| parent | 5203cd0380a012c4606dd00e2383333ee14548dc (diff) | |
| download | emacs-5a027eaed3a19fbeb9465bdfd732b8c163a07b17.tar.gz emacs-5a027eaed3a19fbeb9465bdfd732b8c163a07b17.zip | |
(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'.
| -rw-r--r-- | lispref/minibuf.texi | 12 |
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}. | |||
| 1023 | 1023 | ||
| 1024 | @defvar minibuffer-local-filename-completion-map | 1024 | @defvar minibuffer-local-filename-completion-map |
| 1025 | This is like @code{minibuffer-local-completion-map} | 1025 | This is like @code{minibuffer-local-completion-map} |
| 1026 | except that it does not bind @key{SPC}. | 1026 | except that it does not bind @key{SPC}. This keymap is used by the |
| 1027 | function @code{read-file-name}. | ||
| 1027 | @end defvar | 1028 | @end defvar |
| 1028 | 1029 | ||
| 1029 | @defvar minibuffer-local-must-match-filename-map | 1030 | @defvar minibuffer-local-must-match-filename-map |
| 1030 | This is like @code{minibuffer-local-must-match-map} | 1031 | This is like @code{minibuffer-local-must-match-map} |
| 1031 | except that it does not bind @key{SPC}. | 1032 | except that it does not bind @key{SPC}. This keymap is used by the |
| 1033 | function @code{read-file-name}. | ||
| 1032 | @end defvar | 1034 | @end defvar |
| 1033 | 1035 | ||
| 1034 | @node High-Level Completion | 1036 | @node High-Level Completion |
| @@ -1212,6 +1214,12 @@ value of @var{existing} is neither @code{nil} nor @code{t}, then | |||
| 1212 | @var{existing} is @code{nil}, then the name of a nonexistent file is | 1214 | @var{existing} is @code{nil}, then the name of a nonexistent file is |
| 1213 | acceptable. | 1215 | acceptable. |
| 1214 | 1216 | ||
| 1217 | The function @code{read-file-name} uses | ||
| 1218 | @code{minibuffer-local-filename-completion-map} as the keymap if | ||
| 1219 | @var{existing} is @code{nil}, and uses | ||
| 1220 | @code{minibuffer-local-must-match-filename-map} if @var{existing} is | ||
| 1221 | non-@code{nil}. @xref{Completion Commands}. | ||
| 1222 | |||
| 1215 | The argument @var{directory} specifies the directory to use for | 1223 | The argument @var{directory} specifies the directory to use for |
| 1216 | completion of relative file names. It should be an absolute directory | 1224 | completion of relative file names. It should be an absolute directory |
| 1217 | name. If @code{insert-default-directory} is non-@code{nil}, | 1225 | name. If @code{insert-default-directory} is non-@code{nil}, |