GNU bug report logs - #20601
25.0.50; autorevert.el calls (make-local-variable 'kill-buffer-hook)

Previous Next

Package: emacs;

Reported by: Christoph Ruegge <chrueg <at> gmail.com>

Date: Mon, 18 May 2015 14:27:01 UTC

Severity: normal

Found in version 25.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Christoph Ruegge <chrueg <at> gmail.com>
To: 20601 <at> debbugs.gnu.org
Subject: bug#20601: Acknowledgement (25.0.50; autorevert.el calls (make-local-variable 'kill-buffer-hook))
Date: Mon, 18 May 2015 17:43:33 +0200
To expand this a bit, the following steps highlight a problem,
starting from emacs -Q:

1) Eval "(custom-set-variables '(global-auto-revert-mode t)
'(save-place-mode t nil (saveplace)))" in the *scratch* buffer. Now
kill-buffer-hook contains save-place-to-alist.

2) Open another file. Now save-place-alist is gone from the hook.

When changing autorevert.el to use add-hook's "local" parameter, the
problem does not occur.




This bug report was last modified 10 years and 8 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.