branch: externals/compat
commit 31810cd4d9ac12ca8cfa2ac2c343bda907ca55ca
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
Add :feature
---
compat-26.el | 1 +
compat-27.el | 1 +
2 files changed, 2 insertions(+)
diff --git a/compat-26.el b/compat-26.el
index 549710c0d1..fd8eca3dcc 100644
--- a/compat-26.el
+++ b/compat-26.el
@@ -579,6 +579,7 @@ Properties can be set with
(setf (image-property IMAGE PROPERTY) VALUE)
If VALUE is nil, PROPERTY is removed from IMAGE."
+ ;; :feature image
(plist-get (cdr image) property))
;;* UNTESTED
diff --git a/compat-27.el b/compat-27.el
index 5651a73887..9bf86a3965 100644
--- a/compat-27.el
+++ b/compat-27.el
@@ -674,6 +674,7 @@ Optional arg PARENTS, if non-nil then creates parent dirs
as needed."
Assumes it is used from an Elisp file placed inside the top-level directory
of an installed ELPA package.
The return value is a string (or nil in case we can’t find it)."
+ :feature package
;; In a sense, this is a lie, but it does just what we want: precompute
;; the version at compile time and hardcodes it into the .elc file!
(declare (pure t))