]> git.eshelyaron.com Git - emacs.git/commit
Harden ert-resource-directory against errors
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 27 Oct 2021 14:04:31 +0000 (16:04 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 27 Oct 2021 14:04:31 +0000 (16:04 +0200)
commit5b61f2defe2e6332a242849bf63862053551a4c1
tree4db3c230b359cf2d4bb3b44a363dc9ac7246a8dd
parent158932894b68f58a4417d2fe400dfb593e1067a0
Harden ert-resource-directory against errors

* lisp/emacs-lisp/ert-x.el (ert-resource-directory): Be more
resilient -- don't bug out if called from a file that's not
visiting a directory.
lisp/emacs-lisp/ert-x.el