diff options
| author | Gerd Moellmann | 1999-10-19 13:29:18 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-10-19 13:29:18 +0000 |
| commit | afa95caca641368d2fc054c3fb191d019d793b14 (patch) | |
| tree | 8c907b29c51fdde529208a5333a0397ca702d2fe | |
| parent | 34f94cf948aef2ba881340e69162b43d5056739f (diff) | |
| download | emacs-afa95caca641368d2fc054c3fb191d019d793b14.tar.gz emacs-afa95caca641368d2fc054c3fb191d019d793b14.zip | |
(auto-revert-mode): Make auto-revert-mode permanent-local.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/autorevert.el | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c943c4e3b15..175343b0652 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 1999-10-19 Gerd Moellmann <gerd@gnu.org> | ||
| 2 | |||
| 3 | * autorevert.el (auto-revert-mode): Make auto-revert-mode | ||
| 4 | permanent-local. | ||
| 5 | |||
| 1 | 1999-10-19 Peter Kleiweg <kleiweg@let.rug.nl> | 6 | 1999-10-19 Peter Kleiweg <kleiweg@let.rug.nl> |
| 2 | 7 | ||
| 3 | * progmodes/ps-mode.el (ps-mode-print-function): Fix default | 8 | * 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. | |||
| 220 | Use `global-auto-revert-mode' to automatically revert all buffers." | 220 | Use `global-auto-revert-mode' to automatically revert all buffers." |
| 221 | (interactive "P") | 221 | (interactive "P") |
| 222 | (make-local-variable 'auto-revert-mode) | 222 | (make-local-variable 'auto-revert-mode) |
| 223 | (put 'auto-revert-mode 'permanent-local t) | ||
| 223 | (setq auto-revert-mode | 224 | (setq auto-revert-mode |
| 224 | (if (null arg) | 225 | (if (null arg) |
| 225 | (not auto-revert-mode) | 226 | (not auto-revert-mode) |