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

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

[elpa] externals/compat a0d0d24a3e: Unquote body instead of double-unquo


From: ELPA Syncer
Subject: [elpa] externals/compat a0d0d24a3e: Unquote body instead of double-unquoting the lambda expression
Date: Sat, 5 Feb 2022 18:57:20 -0500 (EST)

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

    Unquote body instead of double-unquoting the lambda expression
    
    Thanks to Stefan Monnier for pointing this out.
---
 compat-macs.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compat-macs.el b/compat-macs.el
index 43e2ab9528..d5e2e97bc4 100644
--- a/compat-macs.el
+++ b/compat-macs.el
@@ -108,7 +108,7 @@ TYPE is used to set the symbol property `compat-type' for 
NAME."
        ,(funcall def-fn realname version)
        ,(if feature
             ;; See https://nullprogram.com/blog/2018/02/22/:
-            `(eval-after-load ',feature `(funcall ',,(lambda () body)))
+            `(eval-after-load ',feature `(funcall #',(lambda () ,body)))
           body))))
 
 (defun compat-common-fdefine (type name arglist docstring rest)



reply via email to

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