[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/files.el
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/files.el |
Date: |
Fri, 06 May 2005 09:08:15 -0400 |
Index: emacs/lisp/files.el
diff -c emacs/lisp/files.el:1.763 emacs/lisp/files.el:1.764
*** emacs/lisp/files.el:1.763 Sun May 1 12:56:42 2005
--- emacs/lisp/files.el Fri May 6 13:08:15 2005
***************
*** 632,639 ****
--- 632,644 ----
(defun locate-file (filename path &optional suffixes predicate)
"Search for FILENAME through PATH.
+ If found, return the absolute file name of FILENAME, with its suffixes;
+ otherwise return nil.
+ PATH should be a list of directories to look in, like the lists in
+ `exec-path' or `load-path'.
If SUFFIXES is non-nil, it should be a list of suffixes to append to
file name when searching. If SUFFIXES is nil, it is equivalent to '(\"\").
+ Use '(\"/\") to disable PATH search, but still try the suffixes in SUFFIXES.
If non-nil, PREDICATE is used instead of `file-readable-p'.
PREDICATE can also be an integer to pass to the `access' system call,
in which case file-name handlers are ignored. This usage is deprecated.
- [Emacs-diffs] Changes to emacs/lisp/files.el, Richard M . Stallman, 2005/05/01
- [Emacs-diffs] Changes to emacs/lisp/files.el, Luc Teirlinck, 2005/05/01
- [Emacs-diffs] Changes to emacs/lisp/files.el,
Eli Zaretskii <=
- [Emacs-diffs] Changes to emacs/lisp/files.el, Richard M . Stallman, 2005/05/10
- [Emacs-diffs] Changes to emacs/lisp/files.el, Stefan Monnier, 2005/05/11
- [Emacs-diffs] Changes to emacs/lisp/files.el, Luc Teirlinck, 2005/05/12
- [Emacs-diffs] Changes to emacs/lisp/files.el, Daniel Pfeiffer, 2005/05/13
- [Emacs-diffs] Changes to emacs/lisp/files.el, Luc Teirlinck, 2005/05/13
- [Emacs-diffs] Changes to emacs/lisp/files.el, Luc Teirlinck, 2005/05/14
- [Emacs-diffs] Changes to emacs/lisp/files.el, Juanma Barranquero, 2005/05/17
- [Emacs-diffs] Changes to emacs/lisp/files.el, Daniel Pfeiffer, 2005/05/20
- [Emacs-diffs] Changes to emacs/lisp/files.el, Stefan Monnier, 2005/05/31