diff options
| -rw-r--r-- | doc/lispref/ChangeLog | 2 | ||||
| -rw-r--r-- | doc/lispref/minibuf.texi | 24 |
2 files changed, 13 insertions, 13 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index f6417de7ad9..87ef485518e 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-05-28 Chong Yidong <cyd@stupidchicken.com> | 1 | 2011-05-28 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 2 | ||
| 3 | * minibuf.texi (Reading File Names): Clarify (Bug#8480). | ||
| 4 | |||
| 3 | * tips.texi (Coding Conventions): Remove antediluvian filename | 5 | * tips.texi (Coding Conventions): Remove antediluvian filename |
| 4 | limit recommendation (Bug#8538). | 6 | limit recommendation (Bug#8538). |
| 5 | 7 | ||
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index d2bb8da962f..5336fef48ad 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi | |||
| @@ -1383,17 +1383,19 @@ Files, emacs, The GNU Emacs Manual}). The exact behavior when using a | |||
| 1383 | graphical file dialog is platform-dependent. Here, we simply document | 1383 | graphical file dialog is platform-dependent. Here, we simply document |
| 1384 | the behavior when using the minibuffer. | 1384 | the behavior when using the minibuffer. |
| 1385 | 1385 | ||
| 1386 | The optional argument @var{require-match} has the same meaning as in | 1386 | @code{read-file-name} does not automatically expand the returned file |
| 1387 | @code{completing-read}. @xref{Minibuffer Completion}. | 1387 | name. You must call @code{expand-file-name} yourself if an absolute |
| 1388 | file name is required. | ||
| 1388 | 1389 | ||
| 1389 | @code{read-file-name} uses | 1390 | The optional argument @var{require-match} has the same meaning as in |
| 1390 | @code{minibuffer-local-filename-completion-map} as the keymap if | 1391 | @code{completing-read}. @xref{Minibuffer Completion}. If |
| 1391 | @var{require-match} is @code{nil}, and uses | 1392 | @var{require-match} is @code{nil}, the local keymap in the minibuffer |
| 1392 | @code{minibuffer-local-filename-must-match-map} if @var{require-match} | 1393 | is @code{minibuffer-local-filename-completion-map}; otherwise, it is |
| 1393 | is non-@code{nil}. @xref{Completion Commands}. | 1394 | @code{minibuffer-local-filename-must-match-map}. @xref{Completion |
| 1395 | Commands}. | ||
| 1394 | 1396 | ||
| 1395 | The argument @var{directory} specifies the directory to use for | 1397 | The argument @var{directory} specifies the directory to use for |
| 1396 | completion of relative file names. It should be an absolute directory | 1398 | completing relative file names. It should be an absolute directory |
| 1397 | name. If @code{insert-default-directory} is non-@code{nil}, | 1399 | name. If @code{insert-default-directory} is non-@code{nil}, |
| 1398 | @var{directory} is also inserted in the minibuffer as initial input. | 1400 | @var{directory} is also inserted in the minibuffer as initial input. |
| 1399 | It defaults to the current buffer's value of @code{default-directory}. | 1401 | It defaults to the current buffer's value of @code{default-directory}. |
| @@ -1441,11 +1443,7 @@ argument that decides which file names are acceptable completion | |||
| 1441 | possibilities. A file name is an acceptable value if @var{predicate} | 1443 | possibilities. A file name is an acceptable value if @var{predicate} |
| 1442 | returns non-@code{nil} for it. | 1444 | returns non-@code{nil} for it. |
| 1443 | 1445 | ||
| 1444 | @code{read-file-name} does not automatically expand file names. You | 1446 | Here is an example of using @code{read-file-name}: |
| 1445 | must call @code{expand-file-name} yourself if an absolute file name is | ||
| 1446 | required. | ||
| 1447 | |||
| 1448 | Here is an example: | ||
| 1449 | 1447 | ||
| 1450 | @example | 1448 | @example |
| 1451 | @group | 1449 | @group |