]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
authorGlenn Morris <rgm@gnu.org>
Mon, 1 Aug 2016 20:31:57 +0000 (16:31 -0400)
committerGlenn Morris <rgm@gnu.org>
Mon, 1 Aug 2016 20:31:57 +0000 (16:31 -0400)
Respect autoload-timestamps for "actual autoloads are elsewhere" case.

lisp/emacs-lisp/autoload.el

index fbb08fc32689335f9a0a5d7743fcf3c62ee4ffe5..aa58f7b27fa4490c4f123530d9582f57bd6993c3 100644 (file)
@@ -812,7 +812,9 @@ FILE's modification time."
                         (autoload-insert-section-header
                          (marker-buffer other-output-start)
                          "actual autoloads are elsewhere" load-name relfile
-                         (nth 5 (file-attributes absfile)))
+                        (if autoload-timestamps
+                            (nth 5 (file-attributes absfile))
+                          autoload--non-timestamp))
                         (insert ";;; Generated autoloads from " relfile "\n")))
                     (insert generate-autoload-section-trailer)))))))