branch: elpa/magit
commit 6c6c2029538216817931f2c4d90b5ff2957d2e75
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
make: Load transient early for older Emacs releases
Transient implements a backport for
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69108.
---
lisp/Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/Makefile b/lisp/Makefile
index e6b0526b85b..fe167b69001 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)