emacs-diffs
[Top][All Lists]
Advanced

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

master d8665e6: Make update-file-autoloads respect generated-autoload-fi


From: Lars Ingebrigtsen
Subject: master d8665e6: Make update-file-autoloads respect generated-autoload-file
Date: Sun, 4 Oct 2020 10:32:24 -0400 (EDT)

branch: master
commit d8665e6d3473403c90a0831e83439a013d0012d3
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Make update-file-autoloads respect generated-autoload-file
    
    * lisp/emacs-lisp/autoload.el (update-file-autoloads): Make
    update-file-autoloads respect `generated-autoload-file', as
    documented.
---
 lisp/emacs-lisp/autoload.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index e6e3fd9..07bda53 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -923,6 +923,7 @@ Return FILE if there was no autoload cookie in it, else 
nil."
   (interactive (list (read-file-name "Update autoloads for file: ")
                     current-prefix-arg
                     (read-file-name "Write autoload definitions to file: ")))
+  (setq outfile (or outfile generated-autoload-file))
   (let* ((autoload-modified-buffers nil)
         ;; We need this only if the output file handles more than one input.
         ;; See https://debbugs.gnu.org/22213#38 and subsequent.



reply via email to

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