branch: externals/compat commit 72c0781b52b39cead7f1505b16a5346949e801ff Author: Philip Kaludercic <phil...@posteo.net> Commit: Philip Kaludercic <phil...@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))))