[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat e6b5f08 53/99: Load all compatibility code uncon
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat e6b5f08 53/99: Load all compatibility code unconditionally |
Date: |
Sun, 17 Oct 2021 05:57:56 -0400 (EDT) |
branch: externals/compat
commit e6b5f089b0f8b6a8b60b0626479cc1413bc6970d
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Load all compatibility code unconditionally
---
compat-tests.el | 11 +----------
compat.el | 15 +++++----------
2 files changed, 6 insertions(+), 20 deletions(-)
diff --git a/compat-tests.el b/compat-tests.el
index 02a3cb6..22b3414 100644
--- a/compat-tests.el
+++ b/compat-tests.el
@@ -63,16 +63,7 @@
;;; Code:
(require 'ert)
-
-(eval-when-compile
- (require 'compat-macs)
-
- (load "compat.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))
+(require 'compat)
(defvar compat--current-fn nil)
(defvar compat--compat-fn nil)
diff --git a/compat.el b/compat.el
index 0b022d4..aea3a1b 100644
--- a/compat.el
+++ b/compat.el
@@ -112,16 +112,11 @@
(signal (car err) (cdr err))))))
;; Load the actual compatibility definitions:
-(when (version< emacs-version "24.4")
- (require 'compat-24.4))
-(when (version< emacs-version "25")
- (require 'compat-25.1))
-(when (version< emacs-version "26")
- (require 'compat-26.1))
-(when (version< emacs-version "27")
- (require 'compat-27.1))
-(when (version< emacs-version "28")
- (require 'compat-28.1))
+(load "compat-24.4")
+(load "compat-25.1")
+(load "compat-26.1")
+(load "compat-27.1")
+(load "compat-28.1")
;;;; Etcetera
- [elpa] externals/compat fa1d0df 55/99: Use names of compatibility functions in ert docstrings, (continued)
- [elpa] externals/compat fa1d0df 55/99: Use names of compatibility functions in ert docstrings, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 1d0f6db 56/99: Add compat-if-let* tests, ELPA Syncer, 2021/10/17
- [elpa] externals/compat c0c1889 57/99: Add compat-and-let* tests, ELPA Syncer, 2021/10/17
- [elpa] externals/compat a57cfed 66/99: Avoid comparing alist-get with testfn if not available, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 7d90061 21/99: Add made up macro name to macrop test, ELPA Syncer, 2021/10/17
- [elpa] externals/compat f3c5728 22/99: Wrap compat-tests setup in an eval-and-load block, ELPA Syncer, 2021/10/17
- [elpa] externals/compat eb0c027 26/99: Advise indirect-function to not raise void-function, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 797930f 34/99: Declare temporary-file-directory for make-nearby-temp-file, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 26acf1f 48/99: Use compatibility macros in ...-let definitions, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 8f64282 49/99: Use compatibility functions in string-trim definition, ELPA Syncer, 2021/10/17
- [elpa] externals/compat e6b5f08 53/99: Load all compatibility code unconditionally,
ELPA Syncer <=
- [elpa] externals/compat 021ffd1 59/99: Handle legacy bytecode argument lists, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 956db9b 60/99: Improve handling of conditional compatibility definitions, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 9be46b0 16/99: Add check for Emacs 28 to compat-tests.el, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 10ef8f4 36/99: Declare string-trim-left and directory-name-p, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 9df8e0c 38/99: Add GitHub action file for CI, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 4364563 43/99: Use unprefixed symbols where possible, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 658db90 47/99: Simplify and-let* implementation, ELPA Syncer, 2021/10/17
- [elpa] externals/compat ad92d70 61/99: Add decoded-time-* functions from 27.1, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 476aa10 62/99: Add json-* functions from 27.1, ELPA Syncer, 2021/10/17
- [elpa] externals/compat a0ea4ae 65/99: Call alist-get-full-elisp from alist-get-handle-testfn, ELPA Syncer, 2021/10/17