diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2023-02-11 01:46:07 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2023-02-11 01:46:07 +0100 |
| commit | 5bd2c405cfbf0b7adff3dbd2316baec650271eea (patch) | |
| tree | 8b9574f0368793e6ee86adc6a1c61e6da65b2ae3 /compat-29.el | |
| parent | 99facb3a764aa282a22c256bedf39113a29041b5 (diff) | |
More robust method to require libraries conditionally
Diffstat (limited to 'compat-29.el')
| -rw-r--r-- | compat-29.el | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/compat-29.el b/compat-29.el index 11cccb6..9cf4a76 100644 --- a/compat-29.el +++ b/compat-29.el @@ -21,13 +21,15 @@ ;;; Code: -(eval-when-compile (load "compat-macs.el" nil t t)) -;; TODO Update to 29.1 as soon as the Emacs emacs-29 branch version bumped -(compat-declare-version "29.0") +(eval-when-compile (require 'compat-macs)) +(compat-require compat-28 "28.1") -;;;; Preloaded in loadup.el +;; Preloaded in loadup.el +;; TODO Update to 29.1 as soon as the Emacs emacs-29 branch version bumped +(compat-require seq "29.0") ;; <compat-tests:seq> -(compat-guard t (require 'seq)) ;; <compat-tests:seq> +;; TODO Update to 29.1 as soon as the Emacs emacs-29 branch version bumped +(compat-version "29.0") ;;;; Defined in xdisp.c |
