]> git.eshelyaron.com Git - emacs.git/commit
* files.el (locate-dominating-stop-dir-regexp): New var.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 25 Oct 2008 15:18:53 +0000 (15:18 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 25 Oct 2008 15:18:53 +0000 (15:18 +0000)
commit8cd56959b43bd4e1ed5df42f2228b3302ea52812
tree1ba5aeb82de44910c2de10a775eeb3eab8c20963
parent520b29e7aafc134741212a9161e9b3b7d6eca9cd
* files.el (locate-dominating-stop-dir-regexp): New var.
(locate-dominating-file): Change arg from a regexp to a file name.
Rewrite using the vc-find-root code to avoid directory-files which is
too slow.  Obey locate-dominating-stop-dir-regexp.
Don't pay attention to changes in owner.
(project-find-settings-file): Adjust call to locate-dominating-file.

* progmodes/flymake.el (flymake-find-buildfile):
Adjust call to locate-dominating-file.

* vc-hooks.el (vc-find-root): Use locate-dominating-file.
(vc-ignore-dir-regexp): Use locate-dominating-stop-dir-regexp.
lisp/files.el
lisp/progmodes/flymake.el
lisp/vc-hooks.el