]> git.eshelyaron.com Git - emacs.git/commit
Make project-current not error out inside non-existent dirs
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 28 Jan 2023 01:17:39 +0000 (03:17 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 28 Jan 2023 01:20:29 +0000 (03:20 +0200)
commit128a999bfe7ebafd78e2b463586156fc6972181d
tree4658b7708be275494704bbdab35b5d16fe88ce02
parent194bc97879d2b57545eda17dbeb0b2e46b215617
Make project-current not error out inside non-existent dirs

* lisp/progmodes/project.el (project-try-vc):
Use condition-case to catch 'file-missing' (bug#61107).

* test/lisp/progmodes/project-tests.el
(project-vc-nonexistent-directory-no-error): New test.
lisp/progmodes/project.el
test/lisp/progmodes/project-tests.el