aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-03-21 17:50:35 +0000
committerRichard M. Stallman2005-03-21 17:50:35 +0000
commitaf300e69523061a41248519eb243aec46c2afa23 (patch)
tree6e632ece42f3b3a1940ced8f6970a5000ffe2889
parenta93cc2b5a8b6595c6669c2d6ba1793340778c96c (diff)
downloademacs-af300e69523061a41248519eb243aec46c2afa23.tar.gz
emacs-af300e69523061a41248519eb243aec46c2afa23.zip
(Reading File Names): Document read-file-name-function.
-rw-r--r--lispref/minibuf.texi7
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
1289as the string @code{"/gp/gnu/elisp/manual.texi"}. 1289as the string @code{"/gp/gnu/elisp/manual.texi"}.
1290@end defun 1290@end defun
1291 1291
1292@defvar read-file-name-function
1293If non-@code{nil}, this should be a function that accepts the same
1294arguments as @code{read-file-name}. When @code{read-file-name} is
1295called, it calls this function with the supplied arguments instead of
1296doing 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
1293This function is like @code{read-file-name} but allows only directory 1300This function is like @code{read-file-name} but allows only directory
1294names as completion possibilities. 1301names as completion possibilities.