[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master d84bc55: * lisp/emacs-lisp/autoload.el (update-file
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] master d84bc55: * lisp/emacs-lisp/autoload.el (update-file-autoloads): |
Date: |
Tue, 01 Mar 2016 04:52:03 +0000 |
branch: master
commit d84bc5555a910b8b7350a1031a0872a3f159e09e
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
* lisp/emacs-lisp/autoload.el (update-file-autoloads):
Ensure timestamps.
---
lisp/emacs-lisp/autoload.el | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index 3405b09..06231f5 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -674,6 +674,8 @@ FILE's modification time."
(let ((version-control 'never))
(save-buffer)))))
+;; FIXME This command should be deprecated.
+;; See http://debbugs.gnu.org/22213#41
;;;###autoload
(defun update-file-autoloads (file &optional save-after outfile)
"Update the autoloads for FILE.
@@ -691,6 +693,9 @@ Return FILE if there was no autoload cookie in it, else
nil."
(read-file-name "Write autoload definitions to file: ")))
(let* ((generated-autoload-file (or outfile generated-autoload-file))
(autoload-modified-buffers nil)
+ ;; We need this only if the output file handles more than one input.
+ ;; See http://debbugs.gnu.org/22213#38 and subsequent.
+ (autoload-timestamps t)
(no-autoloads (autoload-generate-file-autoloads file)))
(if autoload-modified-buffers
(if save-after (autoload-save-buffers))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master d84bc55: * lisp/emacs-lisp/autoload.el (update-file-autoloads):,
Glenn Morris <=