]> git.eshelyaron.com Git - emacs.git/commit
Factor out a helper macro to create a temporary directory.
authorPhilipp Stephani <phst@google.com>
Sun, 18 Apr 2021 19:57:59 +0000 (21:57 +0200)
committerPhilipp Stephani <phst@google.com>
Sun, 18 Apr 2021 19:59:25 +0000 (21:59 +0200)
commit652b0f4c7453e6d440fec767336ca85aec13e33d
tree287b1cc1fb320db1a289eb2f8c32bbdf21dce930
parent6ebc6e12cfa8909655e3c0e722d3c5727ea418d8
Factor out a helper macro to create a temporary directory.

This is a useful abstraction, and saves a few levels of indentation in
the test body.

* test/lisp/progmodes/project-tests.el
(project-tests--with-temporary-directory): New helper macro.
(project/quoted-directory): Use it.
test/lisp/progmodes/project-tests.el