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

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

[elpa] externals/compat 72c0781 81/99: Mention Chris Wellons' article on


From: ELPA Syncer
Subject: [elpa] externals/compat 72c0781 81/99: Mention Chris Wellons' article on lambdas and byte compilation
Date: Sun, 17 Oct 2021 05:58:01 -0400 (EDT)

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

    Mention Chris Wellons' article on lambdas and byte compilation
---
 compat-macs.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/compat-macs.el b/compat-macs.el
index 0907bd2..e019090 100644
--- a/compat-macs.el
+++ b/compat-macs.el
@@ -102,6 +102,9 @@ TYPE is used to set the symbol property `compat-type' for 
NAME."
        (put ',realname 'compat-version ,version)
        ,(funcall def-fn realname version)
        ,(if feature
+            ;; Warning: This might be able throw an error if the code
+            ;; is not byte compiled, as explained in:
+            ;; https://nullprogram.com/blog/2018/02/22/.
             `(eval-after-load ',feature (lambda () ,body))
           body))))
 



reply via email to

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