]> git.eshelyaron.com Git - emacs.git/commit
project-any-command: Change the method for passing project root
authorDmitry Gutov <dmitry@gutov.dev>
Fri, 8 Dec 2023 20:30:48 +0000 (22:30 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 9 Dec 2023 19:13:02 +0000 (20:13 +0100)
commit1cf66bfe49c67ae5d46080c8a1d685cb9c04ee62
treef5e9a9d1a7e96b123bf5a395125d1f88cc36d5a6
parente2aeded4a56889fe2154cbdcbc06b8ae8134af91
project-any-command: Change the method for passing project root

* lisp/progmodes/project.el (project-any-command): Change the
check which decides whether 'project-current-directory-override'
should be used.  Instead of looking in project-prefix-map, see
whether the command's name starts with 'project-', or the symbol
has the property 'project-command' (bug#67171).
lisp/progmodes/project.el