emacs/lisp files.el vc-hooks.el progmodes/flyma...

Stefan Monnier <[email protected]>
Newsgroups gmane.emacs.cvs
Message-ID <[email protected]>
CVSROOT:	/sources/emacs
Module name:	emacs
Changes by:	Stefan Monnier <monnier>	08/10/25 15:18:55

Modified files:
	lisp           : files.el vc-hooks.el 
	lisp/progmodes : flymake.el 

Log message:
	* 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.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/files.el?cvsroot=emacs&r1=1.1005&r2=1.1006
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/vc-hooks.el?cvsroot=emacs&r1=1.268&r2=1.269
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/progmodes/flymake.el?cvsroot=emacs&r1=1.58&r2=1.59
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.