diff options
author | Lute Kamstra <lute@gnu.org> | 2005-04-04 08:51:19 +0000 |
---|---|---|
committer | Lute Kamstra <lute@gnu.org> | 2005-04-04 08:51:19 +0000 |
commit | 834b5c1e637bca003aae48f75ab5f264e5107b7e (patch) | |
tree | 4b4543fab6726bd39f492fa46e46aad2597fa820 | |
parent | 171c707b6cf056348669d1906844c381f36e02d1 (diff) | |
download | emacs-834b5c1e637bca003aae48f75ab5f264e5107b7e.tar.gz |
(auto-revert-mode): Specify :group.
-rw-r--r-- | lisp/autorevert.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/autorevert.el b/lisp/autorevert.el index 361a11a67ea..36b5a6f5a37 100644 --- a/lisp/autorevert.el +++ b/lisp/autorevert.el @@ -1,6 +1,6 @@ ;;; autorevert.el --- revert buffers when files on disk change -;; Copyright (C) 1997, 1998, 1999, 2001, 2004 Free Software Foundation, Inc. +;; Copyright (C) 1997, 1998, 1999, 2001, 2004, 2005 Free Software Foundation, Inc. ;; Author: Anders Lindgren <andersl@andersl.com> ;; Keywords: convenience @@ -290,7 +290,7 @@ This is a minor mode that affects only the current buffer. Use `global-auto-revert-mode' to automatically revert all buffers. Use `auto-revert-tail-mode' if you know that the file will only grow without being changed in the part that is already in the buffer." - nil auto-revert-mode-text nil + :group 'auto-revert :lighter auto-revert-mode-text (if auto-revert-mode (if (not (memq (current-buffer) auto-revert-buffer-list)) (push (current-buffer) auto-revert-buffer-list)) |