From af300e69523061a41248519eb243aec46c2afa23 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 21 Mar 2005 17:50:35 +0000 Subject: [PATCH] (Reading File Names): Document read-file-name-function. --- lispref/minibuf.texi | 7 +++++++ 1 file changed, 7 insertions(+) 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. -- 2.39.2