]> git.eshelyaron.com Git - emacs.git/commit
Don't return transient projects with MAYBE-PROMPT=nil
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 30 May 2020 16:57:06 +0000 (19:57 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 30 May 2020 16:57:38 +0000 (19:57 +0300)
commit780f674a82a90c4e3e32583059b498bfa57e4a06
tree64c105b1d3a88748368fc42baa916f0357d7c7af
parent3dbe6530b124436550dae4db6cd4b7b380e95377
Don't return transient projects with MAYBE-PROMPT=nil

* lisp/progmodes/project.el (project-current): Only return
transient projects when called with non-nil MAYBE-PROMPT.
Also only update the known projects lists in this case.
(https://lists.gnu.org/archive/html/emacs-devel/2020-05/msg03375.html).
lisp/progmodes/project.el