(locate-file): Suffixes aren't returned, so don't say that they are
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 9 Feb 2014 02:58:24 +0000 (18:58 -0800)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 9 Feb 2014 02:58:24 +0000 (18:58 -0800)
Fixes: debbugs:12674

lisp/ChangeLog
lisp/files.el

index 205cfa3..be72db0 100644 (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).
index 38113bc..0cd4c29 100644 (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