1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00

(auto-revert-mode): Make auto-revert-mode permanent-local.

This commit is contained in:
Gerd Moellmann 1999-10-19 13:29:18 +00:00
parent 34f94cf948
commit afa95caca6
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
1999-10-19 Gerd Moellmann <gerd@gnu.org>
* autorevert.el (auto-revert-mode): Make auto-revert-mode
permanent-local.
1999-10-19 Peter Kleiweg <kleiweg@let.rug.nl>
* progmodes/ps-mode.el (ps-mode-print-function): Fix default

View file

@ -220,6 +220,7 @@ This is a minor mode that affects only the current buffer.
Use `global-auto-revert-mode' to automatically revert all buffers."
(interactive "P")
(make-local-variable 'auto-revert-mode)
(put 'auto-revert-mode 'permanent-local t)
(setq auto-revert-mode
(if (null arg)
(not auto-revert-mode)