|
From: | Stefan Monnier |
Subject: | bug#10049: 24.0.91; Setting generated-autoload-file as local variable not working correctly |
Date: | Sat, 19 Nov 2011 21:18:08 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) |
>> I think it is fixed now. > ...and confirmed (again!) ;-) Could you check if the (additional) patch below works as well? Stefan === modified file 'lisp/emacs-lisp/autoload.el' --- lisp/emacs-lisp/autoload.el 2011-11-17 21:34:16 +0000 +++ lisp/emacs-lisp/autoload.el 2011-11-20 02:17:11 +0000 @@ -512,15 +512,7 @@ (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
[Prev in Thread] | Current Thread | [Next in Thread] |