]> git.eshelyaron.com Git - emacs.git/commit
(Vread_file_name_function, Vread_file_name_predicate):
authorKim F. Storm <storm@cua.dk>
Mon, 27 May 2002 22:05:00 +0000 (22:05 +0000)
committerKim F. Storm <storm@cua.dk>
Mon, 27 May 2002 22:05:00 +0000 (22:05 +0000)
commit59ffe07d361e9f35a9d7cad85ffa552f8b4b4eb8
treeb0e3a74b551d6cf9b263bebda0d2e5d6965d8667
parent0d9e03bea16de529979804dc8d2037ac35103122
(Vread_file_name_function, Vread_file_name_predicate):
New variables.
(syms_of_fileio): DEFVAR_LISP them.
(read_file_name_cleanup): New unwind function.
(Fread_file_name_internal): Only return completions satifying
Vread_file_name_predicate.  Temporarily unwind protect and rebind
default-directory while checking completions against the predicate.
(Fread_file_name): Added PREDICATE argument.  Specbind it to
Vread_file_name_predicate during completion.
Call Vread_file_name_function to read the file name if non-nil.
src/fileio.c