From: Richard M. Stallman Date: Mon, 21 Mar 2005 17:50:35 +0000 (+0000) Subject: (Reading File Names): Document read-file-name-function. X-Git-Tag: ttn-vms-21-2-B4~1660 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=af300e69523061a41248519eb243aec46c2afa23;p=emacs.git (Reading File Names): Document read-file-name-function. --- 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 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.