diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-10-04 16:32:16 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-10-04 16:32:16 +0200 |
commit | d8665e6d3473403c90a0831e83439a013d0012d3 (patch) | |
tree | 96fa42e7d970dd946d7483d4a3c0698f83c7ee53 /lisp/emacs-lisp/autoload.el | |
parent | 0fe8ab79e7a2306b84e209cc4e90da1996da1cad (diff) | |
download | emacs-d8665e6d3473403c90a0831e83439a013d0012d3.tar.gz |
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.
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
-rw-r--r-- | lisp/emacs-lisp/autoload.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index e6e3fd9da10..07bda537b39 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. |