Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5a836f58
Commit
5a836f58
authored
Feb 08, 2014
by
Lars Ingebrigtsen
Browse files
(locate-file): Suffixes aren't returned, so don't say that they are
Fixes: debbugs:12674
parent
9e108fe6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
lisp/ChangeLog
lisp/ChangeLog
+2
-0
lisp/files.el
lisp/files.el
+2
-2
No files found.
lisp/ChangeLog
View file @
5a836f58
...
...
@@ -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).
...
...
lisp/files.el
View file @
5a836f58
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment