summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2016-08-01 16:31:57 -0400
committerGlenn Morris <rgm@gnu.org>2016-08-01 16:31:57 -0400
commit573dde70a4bcd7ad972e25260374f5019c671df1 (patch)
tree51850f05ab4299a8d7fb60bb42e41e693b54a48b /lisp/emacs-lisp
parent9eb80d93a7aca0ba6838bf61d26927c4e3780893 (diff)
downloademacs-573dde70a4bcd7ad972e25260374f5019c671df1.tar.gz
emacs-573dde70a4bcd7ad972e25260374f5019c671df1.tar.bz2
emacs-573dde70a4bcd7ad972e25260374f5019c671df1.zip
* lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
Respect autoload-timestamps for "actual autoloads are elsewhere" case.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/autoload.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index fbb08fc3268..aa58f7b27fa 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -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)))))))