auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] [elpa] externals/auctex 1b88eda 38/80: Fix autoload gener


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex 1b88eda 38/80: Fix autoload generation code (bug#35758)
Date: Wed, 16 Oct 2019 11:07:13 -0400 (EDT)

branch: externals/auctex
commit 1b88eda687913a3a355a010ed0483bfcfce28301
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>

    Fix autoload generation code (bug#35758)
    
    * Makefile.in (AUTOLOAD,PREVIEW_AUTOLOAD): Use arg instead of
      generated-autoload-file (bug#35758).
---
 Makefile.in | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 822eea9..74659f7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -52,12 +52,15 @@ PACKAGE=auctex
 PACKAGE_INFO=auctex preview-latex
 EMACS=@EMACS@
 ELCC=$(EMACS) -batch -q -no-site-file -no-init-file -l lpath.el
-AUTOLOAD=--eval '(let ((generated-autoload-file (expand-file-name "$@"))) \
-  (mapcar (function update-file-autoloads) command-line-args-left) \
+AUTOLOAD=--eval '(let ((autoload-file (expand-file-name "$@"))) \
+  (mapcar (lambda (file) \
+            (update-file-autoloads file nil autoload-file)) \
+          command-line-args-left) \
   (save-buffers-kill-emacs t))'
 
-PREVIEW_AUTOLOAD=--eval '(let ((generated-autoload-file (expand-file-name 
"$@"))) \
-               (update-file-autoloads "preview.el")(save-buffers-kill-emacs 
t))'
+PREVIEW_AUTOLOAD=--eval '(let ((autoload-file (expand-file-name "$@"))) \
+  (update-file-autoloads "preview.el" nil autoload-file) \
+  (save-buffers-kill-emacs t))'
 
 # Files and directories excluded from distributed tar ball.
 EXCLUDEDFILES=autogen.sh .gitignore doc/.gitignore doc/tex-ref.log \



reply via email to

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