From: Gerd Moellmann Date: Tue, 19 Oct 1999 13:29:18 +0000 (+0000) Subject: (auto-revert-mode): Make auto-revert-mode permanent-local. X-Git-Tag: emacs-pretest-21.0.90~6375 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=afa95caca641368d2fc054c3fb191d019d793b14;p=emacs.git (auto-revert-mode): Make auto-revert-mode permanent-local. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c943c4e3b15..175343b0652 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +1999-10-19 Gerd Moellmann + + * autorevert.el (auto-revert-mode): Make auto-revert-mode + permanent-local. + 1999-10-19 Peter Kleiweg * progmodes/ps-mode.el (ps-mode-print-function): Fix default diff --git a/lisp/autorevert.el b/lisp/autorevert.el index 94cae66c960..55038391f5d 100644 --- a/lisp/autorevert.el +++ b/lisp/autorevert.el @@ -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)