Mercurial > emacs
changeset 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 | ab5e3944cf27 |
children | 569b1f95bbe0 |
files | lispref/minibuf.texi |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
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.