emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/tuareg 18c1b9e8ef 08/10: Use make-directory-autoloads inte


From: ELPA Syncer
Subject: [nongnu] elpa/tuareg 18c1b9e8ef 08/10: Use make-directory-autoloads intead of batch-update-autoloads
Date: Tue, 27 Sep 2022 06:59:17 -0400 (EDT)

branch: elpa/tuareg
commit 18c1b9e8ef5af6625744a35b8ae1e8f85c7ae9e5
Author: Christophe Troestler <Christophe.Troestler@umons.ac.be>
Commit: Christophe Troestler <Christophe.Troestler@umons.ac.be>

    Use make-directory-autoloads intead of batch-update-autoloads
    
    This is performed on Emacs ≥ 28 as the latter does not exist in the
    development version of Emacs.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index dd8f77fd15..0ba4cb2fc7 100644
--- a/Makefile
+++ b/Makefile
@@ -87,7 +87,7 @@ tuareg-site-file.el: $(SOURCES)
         echo "(add-to-list 'load-path";\
         echo "             (or (file-name-directory load-file-name) (car 
load-path)))";\
         echo "") >$@
-       $(EMACS) --batch --eval '(setq generated-autoload-file "'`pwd`'/$@")' 
-f batch-update-autoloads "."
+       $(EMACS) --batch --eval '(if (>= emacs-major-version 28) 
(make-directory-autoloads "." "'`pwd`'/$@") (setq generated-autoload-file 
"'`pwd`'/$@") (batch-update-autoloads))' "."
 
 dist distrib: $(TARBALL)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]