[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat 165b7d869b 03/12: Remove :version key
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat 165b7d869b 03/12: Remove :version key |
Date: |
Thu, 5 Jan 2023 09:57:28 -0500 (EST) |
branch: externals/compat
commit 165b7d869bd88e82d5da1bafde2d50ca79c6f697
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Remove :version key
---
compat-macs.el | 18 +++---------------
1 file changed, 3 insertions(+), 15 deletions(-)
diff --git a/compat-macs.el b/compat-macs.el
index 7d6c097c3c..d2ab01893f 100644
--- a/compat-macs.el
+++ b/compat-macs.el
@@ -68,9 +68,6 @@ ignored:
For prefixed functions, this can be interpreted as a test to
`defalias' an existing definition or not.
-- :version :: Manual specification of the version the compatee
- code was defined in (string).
-
- :realname :: Manual specification of a \"realname\" to use for
the compatibility definition (symbol).
@@ -80,8 +77,7 @@ ignored:
(max-version (plist-get attr :max-version))
(feature (plist-get attr :feature))
(cond (plist-get attr :cond))
- (version (or (plist-get attr :version)
- compat--current-version))
+ (version compat--current-version)
(check))
(when (and (plist-get attr :realname)
(string= name (plist-get attr :realname)))
@@ -213,11 +209,7 @@ If this is not documented on yourself system, you can
check \
The function must be documented in DOCSTRING. REST may begin
with a plist, that is interpreted by the macro but not passed on
to the actual function. See `compat--generate' for a
-listing of attributes.
-
-The definition will only be installed, if the version this
-function was defined in, as indicated by the `:version'
-attribute, is greater than the current Emacs version."
+listing of attributes."
(declare (debug (&define name (&rest symbolp)
stringp
[&rest keywordp sexp]
@@ -230,11 +222,7 @@ attribute, is greater than the current Emacs version."
The macro must be documented in DOCSTRING. REST may begin
with a plist, that is interpreted by this macro but not passed on
to the actual macro. See `compat--generate' for a
-listing of attributes.
-
-The definition will only be installed, if the version this
-function was defined in, as indicated by the `:version'
-attribute, is greater than the current Emacs version."
+listing of attributes."
(declare (debug compat-defun) (doc-string 3) (indent 2)) ;; <UNTESTED>
(compat--define-function 'macro name arglist docstring rest))
- [elpa] externals/compat updated (61c2b8815b -> c6f6d43bd7), ELPA Syncer, 2023/01/05
- [elpa] externals/compat f68ed51775 05/12: Fix version bounds, ELPA Syncer, 2023/01/05
- [elpa] externals/compat c6f6d43bd7 12/12: Document missing functions, ELPA Syncer, 2023/01/05
- [elpa] externals/compat 355d5806b1 11/12: Drop broken directory-files-recursively, ELPA Syncer, 2023/01/05
- [elpa] externals/compat 9c83b54c3f 01/12: Remove :version, ELPA Syncer, 2023/01/05
- [elpa] externals/compat 165b7d869b 03/12: Remove :version key,
ELPA Syncer <=
- [elpa] externals/compat fe43682262 02/12: Remove :max-version, ELPA Syncer, 2023/01/05
- [elpa] externals/compat 08eec4f008 06/12: Remove version check, ELPA Syncer, 2023/01/05
- [elpa] externals/compat 299d70ecea 08/12: Exclusive bounds for :max-version, ELPA Syncer, 2023/01/05
- [elpa] externals/compat ab85fb2050 07/12: Simplify macros, ELPA Syncer, 2023/01/05
- [elpa] externals/compat 15ae65b0f8 09/12: Improve comments, ELPA Syncer, 2023/01/05
- [elpa] externals/compat 8d4dfded6c 10/12: Use ash, ELPA Syncer, 2023/01/05
- [elpa] externals/compat e20cecba92 04/12: Fix version bounds, ELPA Syncer, 2023/01/05