]> git.eshelyaron.com Git - emacs.git/commit
Ensure that byte compilation works for relative files (Bug#45287).
authorPhilipp Stephani <phst@google.com>
Thu, 17 Dec 2020 11:06:15 +0000 (12:06 +0100)
committerPhilipp Stephani <phst@google.com>
Thu, 17 Dec 2020 11:19:27 +0000 (12:19 +0100)
commit7fad9591142f9d9d0bfce37dd8c65a847dbe8aa9
tree09d68c7f148cd96f22317dd889420c25ea0c0304
parent32d76c0cbc32aa8740bf742a0aea05dd92d28275
Ensure that byte compilation works for relative files (Bug#45287).

* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Don’t fail if
target filename doesn’t contain a directory name.

* test/lisp/emacs-lisp/bytecomp-tests.el
(bytecomp-tests--target-file-no-directory): New unit test.
lisp/emacs-lisp/bytecomp.el
test/lisp/emacs-lisp/bytecomp-tests.el