bug-gnu-emacs
[Top][All Lists]
Advanced

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

autoloading global-auto-revert-mode


From: Alex Schroeder
Subject: autoloading global-auto-revert-mode
Date: 02 Mar 2001 11:40:11 +0100
User-agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7

In GNU Emacs 20.7.1 (i686-pc-linux-gnu, X toolkit)
 of Sat Jun 24 2000 on snail

I just told a user on gnu.emacs.help how to use
global-auto-revert-mode.  Unfortunately it is not autoloaded in Emacs
20.7.  That's why I had to tell him to add the following to his
~/.emacs:

(require 'autorevert)
(global-auto-revert-mode 1)

I would prefer just 

(global-auto-revert-mode 1)

Along the same lines, I checked the Emacs info manual for index
entries using "revert" but didn't find anything on autorevert.  Maybe
a paragraph could be added at the end of Node "Reverting a Buffer".

Example:

  If you want to selectively switch this on for a buffer without
  setting `revert-without-query', you can use the function
  `auto-revert-mode' for one buffer only.  If you want to use it for
  all buffers, use `global-auto-revert-mode' instead.

Alex.
-- 
http://www.geocities.com/kensanata/emacs.html
"No images on Emacsen <v21; use XEmacs or wait for v21."



reply via email to

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