]> git.eshelyaron.com Git - emacs.git/commit
Fix byte-compilation of defalias with a constant macro cons pair
authorZach Shaftel <zach@shaf.tel>
Sun, 15 Jun 2025 00:57:21 +0000 (20:57 -0400)
committerEshel Yaron <me@eshelyaron.com>
Sun, 22 Jun 2025 08:09:37 +0000 (10:09 +0200)
commit159602cb70ad4f49cad46a6f90dbe2b9091355db
tree8edc09b46a577fe368b6f4d2cebeeb450f81b025
parentfd37e5f28a28e01111c6dd1253dbb9b19286a8e9
Fix byte-compilation of defalias with a constant macro cons pair

* lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defalias):
Quote the function name in '(macro . function-name), since we eval
it later.
* test/lisp/emacs-lisp/bytecomp-tests.el
(test-eager-load-macro-expand-defalias): New test.
(Bug#78792)

(cherry picked from commit 075ebed98fea274b363d4d015b32edb0a12a9a89)
lisp/emacs-lisp/bytecomp.el
test/lisp/emacs-lisp/bytecomp-tests.el