aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2016-02-29 20:51:47 -0800
committerGlenn Morris2016-02-29 20:51:47 -0800
commitd84bc5555a910b8b7350a1031a0872a3f159e09e (patch)
treece501d3656029460e2d35cfaaa6f63fc5f78dc96
parent86a7d1dba542a8de64979bda45b0b39c3e2e4626 (diff)
downloademacs-d84bc5555a910b8b7350a1031a0872a3f159e09e.tar.gz
emacs-d84bc5555a910b8b7350a1031a0872a3f159e09e.zip
* lisp/emacs-lisp/autoload.el (update-file-autoloads):
Ensure timestamps.
-rw-r--r--lisp/emacs-lisp/autoload.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index 3405b09e6f5..06231f55c27 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -674,6 +674,8 @@ FILE's modification time."
674 (let ((version-control 'never)) 674 (let ((version-control 'never))
675 (save-buffer))))) 675 (save-buffer)))))
676 676
677;; FIXME This command should be deprecated.
678;; See http://debbugs.gnu.org/22213#41
677;;;###autoload 679;;;###autoload
678(defun update-file-autoloads (file &optional save-after outfile) 680(defun update-file-autoloads (file &optional save-after outfile)
679 "Update the autoloads for FILE. 681 "Update the autoloads for FILE.
@@ -691,6 +693,9 @@ Return FILE if there was no autoload cookie in it, else nil."
691 (read-file-name "Write autoload definitions to file: "))) 693 (read-file-name "Write autoload definitions to file: ")))
692 (let* ((generated-autoload-file (or outfile generated-autoload-file)) 694 (let* ((generated-autoload-file (or outfile generated-autoload-file))
693 (autoload-modified-buffers nil) 695 (autoload-modified-buffers nil)
696 ;; We need this only if the output file handles more than one input.
697 ;; See http://debbugs.gnu.org/22213#38 and subsequent.
698 (autoload-timestamps t)
694 (no-autoloads (autoload-generate-file-autoloads file))) 699 (no-autoloads (autoload-generate-file-autoloads file)))
695 (if autoload-modified-buffers 700 (if autoload-modified-buffers
696 (if save-after (autoload-save-buffers)) 701 (if save-after (autoload-save-buffers))