mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-28 01:00:52 -07:00
(Reading File Names): Document read-file-name-function.
This commit is contained in:
parent
a93cc2b5a8
commit
af300e6952
1 changed files with 7 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue