# HG changeset patch # User Richard M. Stallman # Date 1166386560 0 # Node ID 486c403b912b6de8203daef19f9a8a00cfd24375 # Parent 28bd0d421b0c050953c97204a84d17d7de59d59d *** empty log message *** diff -r 28bd0d421b0c -r 486c403b912b etc/NEWS --- a/etc/NEWS Sun Dec 17 20:15:52 2006 +0000 +++ b/etc/NEWS Sun Dec 17 20:16:00 2006 +0000 @@ -4548,6 +4548,7 @@ *** The function `make-auto-save-file-name' is now handled by file name handlers. This will be exploited for remote files mainly. ++++ *** The function `file-name-completion' accepts an optional argument PREDICATE, and rejects completion candidates that don't satisfy PREDICATE. diff -r 28bd0d421b0c -r 486c403b912b lispref/ChangeLog --- a/lispref/ChangeLog Sun Dec 17 20:15:52 2006 +0000 +++ b/lispref/ChangeLog Sun Dec 17 20:16:00 2006 +0000 @@ -1,3 +1,8 @@ +2006-12-17 Richard Stallman + + * files.texi (File Name Completion): Document PREDICATE arg + to file-name-completion. + 2006-12-16 Eli Zaretskii * internals.texi (Building Emacs, Writing Emacs Primitives): Add diff -r 28bd0d421b0c -r 486c403b912b src/ChangeLog --- a/src/ChangeLog Sun Dec 17 20:15:52 2006 +0000 +++ b/src/ChangeLog Sun Dec 17 20:16:00 2006 +0000 @@ -1,3 +1,11 @@ +2006-12-17 Richard Stallman + + * fileio.c (Fread_file_name_internal): Pass Vread_file_name_predicate + to Ffile_name_completion. + + * dired.c (file_name_completion): New arg PREDICATE. Some cleanup. + (file_name_completion): New arg PREDICATE. + 2006-12-17 Juanma Barranquero * buffer.c (Fkill_buffer): Doc fix.