* lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.

This commit is contained in:
Stefan Monnier 2011-11-21 09:22:02 -05:00
parent 90151a1e95
commit f04a3be94b
2 changed files with 7 additions and 10 deletions

View file

@ -1,6 +1,11 @@
2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
* vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Use force-same-window.
* vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
Use force-same-window.
2011-11-20 Juanma Barranquero <lekktu@gmail.com>

View file

@ -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