[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat 0d77194 14/99: Remove compat--disable-defer vari
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat 0d77194 14/99: Remove compat--disable-defer variable |
Date: |
Sun, 17 Oct 2021 05:57:49 -0400 (EDT) |
branch: externals/compat
commit 0d771945504a0928dba7603048897f0b10d14e13
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Remove compat--disable-defer variable
As per the last commit, it is not necessary to prevent deferred
evaluation of compatibility definitions. Therefore, the variable
compat--disable-defer is also not needed any more.
---
compat-macs.el | 7 +------
compat-tests.el | 15 +++++++--------
2 files changed, 8 insertions(+), 14 deletions(-)
diff --git a/compat-macs.el b/compat-macs.el
index b14f875..95ce08d 100644
--- a/compat-macs.el
+++ b/compat-macs.el
@@ -25,11 +25,6 @@
;;; Code:
-(defvar compat--disable-defer nil
- "Prevent compatibility code from being deferred.
-This is used for testing, and should not be set to a non-nil
-value otherwise.")
-
(defmacro compat--ignore (&rest _)
"Ignore all arguments."
nil)
@@ -103,7 +98,7 @@ attributes are handled, all others are ignored:
,(funcall install-fn realname))))
`(progn
,(funcall def-fn realname version)
- ,(if (and feature (not compat--disable-defer))
+ ,(if feature
`(eval-after-load ',feature (lambda () ,body))
body))))
diff --git a/compat-tests.el b/compat-tests.el
index 4a15c5f..fe83f04 100644
--- a/compat-tests.el
+++ b/compat-tests.el
@@ -67,14 +67,13 @@
(eval-and-compile
(require 'compat-macs)
- (let ((compat--disable-defer t))
- (load "compat-24.2.el" nil nil nil t)
- (load "compat-24.3.el" nil nil nil t)
- (load "compat-24.4.el" nil nil nil t)
- (load "compat-25.1.el" nil nil nil t)
- (load "compat-26.1.el" nil nil nil t)
- (load "compat-27.1.el" nil nil nil t)
- (load "compat-28.1.el" nil nil nil t))
+ (load "compat-24.2.el" nil nil nil t)
+ (load "compat-24.3.el" nil nil nil t)
+ (load "compat-24.4.el" nil nil nil t)
+ (load "compat-25.1.el" nil nil nil t)
+ (load "compat-26.1.el" nil nil nil t)
+ (load "compat-27.1.el" nil nil nil t)
+ (load "compat-28.1.el" nil nil nil t)
(defvar compat--current-fn nil)
(defvar compat--compat-fn nil)
- [elpa] branch externals/compat created (now 5506770), ELPA Syncer, 2021/10/17
- [elpa] externals/compat 51b832c 02/99: Remove compat--disable-defer check from installation check, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 10033e0 01/99: Initial import, ELPA Syncer, 2021/10/17
- [elpa] externals/compat e00fc9c 03/99: Simplify mapcan implementation, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 9688d79 05/99: Split proper-list-p into two implementations, ELPA Syncer, 2021/10/17
- [elpa] externals/compat c445418 04/99: Fix named-let implementation, ELPA Syncer, 2021/10/17
- [elpa] externals/compat b8e8cba 07/99: Use markdown instead of outline-mode for the README file, ELPA Syncer, 2021/10/17
- [elpa] externals/compat a403485 10/99: Require compat-macs in eval-when-compile instead of eval-and-compile, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 0d77194 14/99: Remove compat--disable-defer variable,
ELPA Syncer <=
- [elpa] externals/compat eafe584 15/99: Remove unnecessary eval-and-compile block from compat-tests, ELPA Syncer, 2021/10/17
- [elpa] externals/compat c7d1615 06/99: Remove elisp-shorthands from compat-tests.el, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 5936773 08/99: Fix installation check, ELPA Syncer, 2021/10/17
- [elpa] externals/compat d77b31f 11/99: Reorder files to byte compile in Makefile, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 12e36f7 12/99: Check if actual name is fbound before binding a function or macro, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 5846fbe 13/99: Pull compatibility definition out of eval-after-load block, ELPA Syncer, 2021/10/17
- [elpa] externals/compat b3d1100 17/99: Prepend font-lock-preprocessor-face to compatibility symbols, ELPA Syncer, 2021/10/17
- [elpa] externals/compat c626917 18/99: Add a named-let test, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 4c6c31b 29/99: Replace :force with more general :cond, ELPA Syncer, 2021/10/17
- [elpa] externals/compat a983e8c 30/99: Install advice using advice instead of nadvice for Emacs 24.3, ELPA Syncer, 2021/10/17