diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-11-21 09:22:02 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-11-21 09:22:02 -0500 |
commit | f04a3be94bbcfbf24baba836a1d5fb4099412b07 (patch) | |
tree | 081fa0cb514e58f927543fdb062f88c69961a8b1 /lisp/emacs-lisp/autoload.el | |
parent | 90151a1e9594cdc6603e773dd510f588abef9073 (diff) | |
download | emacs-f04a3be94bbcfbf24baba836a1d5fb4099412b07.tar.gz emacs-f04a3be94bbcfbf24baba836a1d5fb4099412b07.tar.bz2 emacs-f04a3be94bbcfbf24baba836a1d5fb4099412b07.zip |
* lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
-rw-r--r-- | lisp/emacs-lisp/autoload.el | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index b3ac23b2b76..df98271832a 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -512,15 +512,7 @@ Return non-nil if and only if FILE adds no autoloads to OUTFILE (when output-start (let ((secondary-autoloads-file-buf - (if (local-variable-p 'generated-autoload-file) - (current-buffer)))) - ;; Ignore a buffer-local setting if it points to the - ;; global value. Otherwise we end up writing a mix of md5s - ;; and time-stamps to the global file. (Bug#10049) - (and secondary-autoloads-file-buf - outfile - (not otherbuf) - (setq secondary-autoloads-file-buf nil)) + (if otherbuf (current-buffer)))) (with-current-buffer (marker-buffer output-start) (save-excursion ;; Insert the section-header line which lists the file name |