aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2002-05-27 22:14:52 +0000
committerKim F. Storm2002-05-27 22:14:52 +0000
commit02f20f98635c0bb519ebcee939abe428f7f6bf76 (patch)
treee4941f821ccce159223021c53d53c172cdb523f1
parent93ed5f9da730fafe0736922e31fcebe926eb2c92 (diff)
downloademacs-02f20f98635c0bb519ebcee939abe428f7f6bf76.tar.gz
emacs-02f20f98635c0bb519ebcee939abe428f7f6bf76.zip
*** empty log message ***
-rw-r--r--etc/NEWS9
-rw-r--r--src/ChangeLog19
2 files changed, 28 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index d68ced7e14a..610f0b0adb6 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -786,6 +786,15 @@ mode-lines in inverse-video.
786 786
787* Lisp Changes in Emacs 21.4 787* Lisp Changes in Emacs 21.4
788 788
789** The `read-file-name' function now takes an additional argument which
790specifies a predicate which the file name read must satify. The
791new variable `read-file-name-predicate' contains the predicate argument
792while reading the file name from the minibuffer; the predicate in this
793variable is used by read-file-name-internal to filter the completion list.
794
795** The new variable `read-file-name-function' can be used by lisp code
796to override the internal read-file-name function.
797
789** The New lisp library fringe.el controls the apperance of fringes. 798** The New lisp library fringe.el controls the apperance of fringes.
790 799
791** The `defmacro' form may contain declarations specifying how to 800** The `defmacro' form may contain declarations specifying how to
diff --git a/src/ChangeLog b/src/ChangeLog
index 407c48b9a90..7b6236b7cbb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,22 @@
12002-05-28 Kim F. Storm <storm@cua.dk>
2
3 * fileio.c: (Vread_file_name_function, Vread_file_name_predicate):
4 New variables.
5 (syms_of_fileio): DEFVAR_LISP them.
6 (read_file_name_cleanup): New unwind function.
7 (Fread_file_name_internal): Only return completions satifying
8 Vread_file_name_predicate. Temporarily unwind protect and rebind
9 default-directory while checking completions against the predicate.
10 (Fread_file_name): Added PREDICATE argument. Specbind it to
11 Vread_file_name_predicate during completion.
12 Call Vread_file_name_function to read the file name if non-nil.
13
14 * lisp.h (Fread_file_name): Now has 6 args.
15
16 * callint.c (Fcall_interactively) <"D">: Supply Qfile_directory_p
17 predicate for Fread_file_name when reading directory name.
18 Supply Qnil for predicate in other calls to Fread_file_name.
19
12002-05-26 Miles Bader <miles@gnu.org> 202002-05-26 Miles Bader <miles@gnu.org>
2 21
3 * term.c (tty_capable_p): New function. 22 * term.c (tty_capable_p): New function.