[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20601: Acknowledgement (25.0.50; autorevert.el calls (make-local-var

From: Christoph Ruegge
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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]