aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2025-08-31 21:37:35 +0200
committerJonas Bernoulli <jonas@bernoul.li>2025-08-31 21:37:35 +0200
commit6c6c2029538216817931f2c4d90b5ff2957d2e75 (patch)
tree691c5b18a5790542a3e0922338f4131e40fa3cb6 /lisp
parente4e7f7bc656f1c24bccd311b5f174528e724150f (diff)
make: Load transient early for older Emacs releases
Transient implements a backport for https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69108.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/Makefile b/lisp/Makefile
index e6b0526..fe167b6 100644
--- a/lisp/Makefile
+++ b/lisp/Makefile
@@ -71,8 +71,9 @@ versionlib: $(PKG)-version.el
@$(BATCH) --eval "(progn\
(when (file-exists-p \"$@\")\
(delete-file \"$@\"))\
- (setq with-editor-emacsclient-executable nil\
- ))" \
+ (setq with-editor-emacsclient-executable nil)\
+ (when (< emacs-major-version 30)\
+ (require 'transient)))"\
-f batch-byte-compile $<
$(PKG)-autoloads.el: $(ELS)