]> git.eshelyaron.com Git - emacs.git/commit
Add :buffer argument to ert-with-temp-file
authorStefan Kangas <stefankangas@gmail.com>
Sun, 25 Sep 2022 14:16:30 +0000 (16:16 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Sun, 25 Sep 2022 14:16:30 +0000 (16:16 +0200)
commitf761869a563866d55da437d06f267979e90cf3a0
tree53a53c40b3cc0b0ea2adbfebccf73399d571d617
parent568920a5b703e80c43e1b6f31778ea5776218a1e
Add :buffer argument to ert-with-temp-file

* lisp/emacs-lisp/ert-x.el (ert-with-temp-file): Add new keyword
argument :buffer SYMBOL to visit the file with `find-file-literally'
before running the body, and cleaning up after.
lisp/emacs-lisp/ert-x.el