emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/compat 76aaecbb2f 1/3: Don't macroexpand in compat-inse


From: ELPA Syncer
Subject: [elpa] externals/compat 76aaecbb2f 1/3: Don't macroexpand in compat-insert
Date: Tue, 1 Mar 2022 08:57:27 -0500 (EST)

branch: externals/compat
commit 76aaecbb2f57116ab77c92315ee2df26187a82d9
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    Don't macroexpand in compat-insert
    
    This causes issues with macros like declare-function, that expand to
    nil and confuse the byte compiler.
---
 compat.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/compat.el b/compat.el
index dca58424cf..833fe43a55 100644
--- a/compat.el
+++ b/compat.el
@@ -155,8 +155,7 @@
                               compat-advise
                               defvar))
                   (push form defs))))))
-        (macroexpand-all
-         (cons 'progn (nreverse defs))))))))
+        (cons 'progn (nreverse defs)))))))
 
 (compat-insert "24.4")
 (compat-insert "25.1")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]