# HG changeset patch # User Richard M. Stallman # Date 1111427435 0 # Node ID 73b73eabbe62ea0cad676cb61f459bf7a9c7afa9 # Parent ab5e3944cf27ca0aed5dde120516813198805a5c (Reading File Names): Document read-file-name-function. diff -r ab5e3944cf27 -r 73b73eabbe62 lispref/minibuf.texi --- a/lispref/minibuf.texi Mon Mar 21 17:47:42 2005 +0000 +++ b/lispref/minibuf.texi Mon Mar 21 17:50:35 2005 +0000 @@ -1289,6 +1289,13 @@ 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.