]> git.eshelyaron.com Git - emacs.git/commit
Bind default-directory to the project root
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 4 Feb 2021 01:38:27 +0000 (03:38 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 4 Feb 2021 20:06:16 +0000 (22:06 +0200)
commitb99848c72cb2570cfcab98443be9156b66dee830
tree791e4090e8eaf0c43433a98c175dfc868d9e9b3f
parent19534f988c0f29199dfd51d627392bccf7426253
Bind default-directory to the project root

* lisp/progmodes/project.el (project-find-regexp):
Bind default-directory to the project root, to save this value
in the resulting buffer (esp. if the project selector was used,
(https://lists.gnu.org/archive/html/emacs-devel/2021-02/msg00140.html).
(project-or-external-find-regexp): Same.

(cherry picked from commit c07ebfcbe084e8219d8c2588f23f77ba4ef39087)
lisp/progmodes/project.el