1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-13 16:38:14 +00:00

(locate-file): Suffixes aren't returned, so don't say that they are

Fixes: debbugs:12674
This commit is contained in:
Lars Ingebrigtsen 2014-02-08 18:58:24 -08:00
parent 9e108fe61d
commit 5a836f5897
2 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,8 @@
* files.el (find-file-noselect): Clarify prompt when changing
readedness (bug#13261).
(locate-file): Suffixes aren't returned, so don't say that they
are (bug#12674).
* dired.el (dired-internal-do-deletions): Don't say "Deleting..."
before we actually start to delete things (bug#16331).

View File

@ -747,8 +747,8 @@ The path separator is colon in GNU and GNU-like systems."
(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.
If found, return the absolute file name of FILENAME; 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