Mercurial > emacs
changeset 61267:06afa2a6987d
(auto-revert-mode): Specify :group.
author | Lute Kamstra <lute@gnu.org> |
---|---|
date | Mon, 04 Apr 2005 08:51:19 +0000 |
parents | 9f9950e815a5 |
children | abd0d265b4ba |
files | lisp/autorevert.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/autorevert.el Mon Apr 04 08:47:58 2005 +0000 +++ b/lisp/autorevert.el Mon Apr 04 08:51:19 2005 +0000 @@ -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 @@ 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))