diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | 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 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)) |