GNU bug report logs -
#10049
problems if buffer-local generated-autoload-file points to global autoload file
Previous Next
Reported by: David Engster <deng <at> randomsample.de>
Date: Mon, 14 Nov 2011 22:14:01 UTC
Severity: normal
Found in version 24.0.91
Fixed in version 24.0.92
Done: David Engster <deng <at> randomsample.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>> 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
This bug report was last modified 13 years and 190 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.