emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/lisp ChangeLog autorevert.el [EMACS_23_1_RC]


From: Glenn Morris
Subject: [Emacs-diffs] emacs/lisp ChangeLog autorevert.el [EMACS_23_1_RC]
Date: Sun, 28 Jun 2009 00:50:41 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_23_1_RC
Changes by:     Glenn Morris <gm>       09/06/28 00:50:40

Modified files:
        lisp           : ChangeLog autorevert.el 

Log message:
        (global-auto-revert-non-file-buffers, global-auto-revert-mode): Doc 
fixes.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&only_with_tag=EMACS_23_1_RC&r1=1.15702.2.1&r2=1.15702.2.2
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/autorevert.el?cvsroot=emacs&only_with_tag=EMACS_23_1_RC&r1=1.67&r2=1.67.2.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.15702.2.1
retrieving revision 1.15702.2.2
diff -u -b -r1.15702.2.1 -r1.15702.2.2
--- ChangeLog   24 Jun 2009 03:45:05 -0000      1.15702.2.1
+++ ChangeLog   28 Jun 2009 00:50:32 -0000      1.15702.2.2
@@ -1,3 +1,8 @@
+2009-06-28  Glenn Morris  <address@hidden>
+
+       * autorevert.el (global-auto-revert-non-file-buffers)
+       (global-auto-revert-mode): Doc fixes.
+
 2009-06-24  Glenn Morris  <address@hidden>
 
        * comint.el (comint-insert-input): Doc fix.

Index: autorevert.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/autorevert.el,v
retrieving revision 1.67
retrieving revision 1.67.2.1
diff -u -b -r1.67 -r1.67.2.1
--- autorevert.el       5 Jan 2009 03:18:44 -0000       1.67
+++ autorevert.el       28 Jun 2009 00:50:40 -0000      1.67.2.1
@@ -207,10 +207,13 @@
 When non-nil, both file buffers and buffers with a custom
 `revert-buffer-function' and a `buffer-stale-function' are
 reverted by Global Auto-Revert mode.  These include the Buffer
-List buffer, and Dired buffers showing complete local
-directories.  Dired buffers do not auto-revert as a result of
-changes in subdirectories or in the contents, size, modes, etc.,
-of files.  You may still sometimes want to revert them manually.
+List buffer displayed by `buffer-menu', and Dired buffers showing
+complete local directories.  The Buffer List buffer reverts every
+`auto-revert-interval' seconds; Dired buffers when the file list of
+the main directory changes.  Dired buffers do not auto-revert as
+a result of changes in subdirectories, or in the contents, size,
+modes, etc., of files.  You may still sometimes want to revert
+them manually.
 
 Use this option with care since it could lead to excessive auto-reverts.
 For more information, see Info node `(emacs)Autorevert'."
@@ -374,11 +377,23 @@
 
 ;;;###autoload
 (define-minor-mode global-auto-revert-mode
-  "Revert any buffer when file on disk changes.
-
-With arg, turn Auto Revert mode on globally if and only if arg is positive.
-This is a minor mode that affects all buffers.
-Use `auto-revert-mode' to revert a particular buffer."
+  "Toggle Global Auto Revert mode.
+With optional prefix argument ARG, enable Global Auto Revert Mode
+if ARG > 0, else disable it.
+
+This is a global minor mode that reverts any buffer associated
+with a file when the file changes on disk.  Use `auto-revert-mode'
+to revert a particular buffer.
+
+If `global-auto-revert-non-file-buffers' is non-nil, this mode
+may also revert some non-file buffers, as described in the
+documentation of that variable.  It ignores buffers with modes
+matching `global-auto-revert-ignore-modes', and buffers with a
+non-nil vale of `global-auto-revert-ignore-buffer'.
+
+This function calls the hook `global-auto-revert-mode-hook'.
+It displays the text that `global-auto-revert-mode-text'
+specifies in the mode line."
   :global t :group 'auto-revert :lighter global-auto-revert-mode-text
   (auto-revert-set-timer)
   (when global-auto-revert-mode




reply via email to

[Prev in Thread] Current Thread [Next in Thread]