diff options
| author | Stefan Monnier | 2011-11-21 09:22:02 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2011-11-21 09:22:02 -0500 |
| commit | f04a3be94bbcfbf24baba836a1d5fb4099412b07 (patch) | |
| tree | 081fa0cb514e58f927543fdb062f88c69961a8b1 | |
| parent | 90151a1e9594cdc6603e773dd510f588abef9073 (diff) | |
| download | emacs-f04a3be94bbcfbf24baba836a1d5fb4099412b07.tar.gz emacs-f04a3be94bbcfbf24baba836a1d5fb4099412b07.zip | |
* lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/emacs-lisp/autoload.el | 10 |
2 files changed, 7 insertions, 10 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e9e653c5d7b..8df4a55b1a8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,6 +1,11 @@ | |||
| 1 | 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify. | ||
| 4 | |||
| 1 | 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Use force-same-window. | 7 | * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): |
| 8 | Use force-same-window. | ||
| 4 | 9 | ||
| 5 | 2011-11-20 Juanma Barranquero <lekktu@gmail.com> | 10 | 2011-11-20 Juanma Barranquero <lekktu@gmail.com> |
| 6 | 11 | ||
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 | |||
| 512 | 512 | ||
| 513 | (when output-start | 513 | (when output-start |
| 514 | (let ((secondary-autoloads-file-buf | 514 | (let ((secondary-autoloads-file-buf |
| 515 | (if (local-variable-p 'generated-autoload-file) | 515 | (if otherbuf (current-buffer)))) |
| 516 | (current-buffer)))) | ||
| 517 | ;; Ignore a buffer-local setting if it points to the | ||
| 518 | ;; global value. Otherwise we end up writing a mix of md5s | ||
| 519 | ;; and time-stamps to the global file. (Bug#10049) | ||
| 520 | (and secondary-autoloads-file-buf | ||
| 521 | outfile | ||
| 522 | (not otherbuf) | ||
| 523 | (setq secondary-autoloads-file-buf nil)) | ||
| 524 | (with-current-buffer (marker-buffer output-start) | 516 | (with-current-buffer (marker-buffer output-start) |
| 525 | (save-excursion | 517 | (save-excursion |
| 526 | ;; Insert the section-header line which lists the file name | 518 | ;; Insert the section-header line which lists the file name |