]> 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)
committerDmitry Gutov <dmitry@gutov.dev>
Fri, 8 Dec 2023 20:34:06 +0000 (22:34 +0200)
commit11b7b0d4abc7bfc84004f019b3239990063950cf
tree843c14910223a5c98f4ec96ac37f7aa59b48bcb7
parent50bab2a9f7a3a07c0aa24355e1d3cde547be90b9
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