Mercurial > emacs
diff lispref/minibuf.texi @ 60783:73b73eabbe62
(Reading File Names): Document read-file-name-function.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 21 Mar 2005 17:50:35 +0000 |
parents | 19e8fd4ab907 |
children | 059ddef3ce4b 13796b0653c7 |
line wrap: on
line diff
--- 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.