]> git.eshelyaron.com Git - emacs.git/commit
Change default-directory before prompting in project-compile
authorKévin Le Gouguec <kevin.legouguec@gmail.com>
Sun, 10 Jan 2021 09:43:41 +0000 (10:43 +0100)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 16 Jan 2021 04:00:22 +0000 (06:00 +0200)
commit1513ee37a4defbf1db7f26d1e8148843416dc987
tree6cff7b15f02b4b440e4f0c90811915612d3c1593
parent5d6817086d6485bc6e3dde054d877c0759656ddd
Change default-directory before prompting in project-compile

This causes command completion to work from the project root, letting
users complete top-level folders, make targets, etc (bug#45765).

* lisp/progmodes/project.el (project-compile): Simplify using
call-interactively, as done with project(-async)-shell-command.
lisp/progmodes/project.el