Commit eb182446 authored by Glenn Morris's avatar Glenn Morris
Browse files

* lisp/files.el (locate-dominating-file): Doc fix.

parent 24679323
2012-03-06 Glenn Morris <>
* files.el (locate-dominating-file): Doc fix.
2012-03-06 Adam Spiers <> (tiny change)
* calendar/calendar.el (calendar-set-mode-line):
......@@ -880,7 +880,10 @@ or mount points potentially requiring authentication as a different user.")
(defun locate-dominating-file (file name)
"Look up the directory hierarchy from FILE for a file named NAME.
Stop at the first parent directory containing a file NAME,
and return the directory. Return nil if not found."
and return the directory. Return nil if not found.
This function only tests if FILE exists. If you care about whether
it is readable, regular, etc., you should test the result."
;; We used to use the above locate-dominating-files code, but the
;; directory-files call is very costly, so we're much better off doing
;; multiple calls using the code in here.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment