1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-28 01:00:52 -07:00

(Reading File Names): Document read-file-name-function.

This commit is contained in:
Richard M. Stallman 2005-03-21 17:50:35 +00:00
parent a93cc2b5a8
commit af300e6952

View file

@ -1289,6 +1289,13 @@ If the user types @key{RET}, @code{read-file-name} returns the file name
as the string @code{"/gp/gnu/elisp/manual.texi"}.
@end defun
@defvar read-file-name-function
If non-@code{nil}, this should be a function that accepts the same
arguments as @code{read-file-name}. When @code{read-file-name} is
called, it calls this function with the supplied arguments instead of
doing its usual work.
@end defvar
@defun read-directory-name prompt &optional directory default existing initial
This function is like @code{read-file-name} but allows only directory
names as completion possibilities.