aboutsummaryrefslogtreecommitdiff
path: root/compat-macs.el
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2021-11-02 20:19:53 +0100
committerPhilip Kaludercic <philipk@posteo.net>2021-11-02 20:19:53 +0100
commitd5452d8aa0b217aaab14b83a72de0ffe5065669a (patch)
tree46ab4aa9626a40152975439ec2c50b296a198891 /compat-macs.el
parent79148dad3577d83736f8daa81c2fe41bcf1aaf72 (diff)
Fix generation of eval-after-load function for deferred code
Diffstat (limited to 'compat-macs.el')
-rw-r--r--compat-macs.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat-macs.el b/compat-macs.el
index 9545c8c..8bf5005 100644
--- a/compat-macs.el
+++ b/compat-macs.el
@@ -103,7 +103,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)