diff options
| author | Richard M. Stallman | 2005-03-21 17:50:35 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-03-21 17:50:35 +0000 |
| commit | af300e69523061a41248519eb243aec46c2afa23 (patch) | |
| tree | 6e632ece42f3b3a1940ced8f6970a5000ffe2889 | |
| parent | a93cc2b5a8b6595c6669c2d6ba1793340778c96c (diff) | |
| download | emacs-af300e69523061a41248519eb243aec46c2afa23.tar.gz emacs-af300e69523061a41248519eb243aec46c2afa23.zip | |
(Reading File Names): Document read-file-name-function.
| -rw-r--r-- | lispref/minibuf.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lispref/minibuf.texi b/lispref/minibuf.texi index 288bacc5e93..bfe5214174b 100644 --- a/lispref/minibuf.texi +++ b/lispref/minibuf.texi | |||
| @@ -1289,6 +1289,13 @@ If the user types @key{RET}, @code{read-file-name} returns the file name | |||
| 1289 | as the string @code{"/gp/gnu/elisp/manual.texi"}. | 1289 | as the string @code{"/gp/gnu/elisp/manual.texi"}. |
| 1290 | @end defun | 1290 | @end defun |
| 1291 | 1291 | ||
| 1292 | @defvar read-file-name-function | ||
| 1293 | If non-@code{nil}, this should be a function that accepts the same | ||
| 1294 | arguments as @code{read-file-name}. When @code{read-file-name} is | ||
| 1295 | called, it calls this function with the supplied arguments instead of | ||
| 1296 | doing its usual work. | ||
| 1297 | @end defvar | ||
| 1298 | |||
| 1292 | @defun read-directory-name prompt &optional directory default existing initial | 1299 | @defun read-directory-name prompt &optional directory default existing initial |
| 1293 | This function is like @code{read-file-name} but allows only directory | 1300 | This function is like @code{read-file-name} but allows only directory |
| 1294 | names as completion possibilities. | 1301 | names as completion possibilities. |