]> code.delx.au - gnu-emacs/blobdiff - lisp/autorevert.el
(echo_char): Use KEY_DESCRIPTION_SIZE to check free
[gnu-emacs] / lisp / autorevert.el
index 5f60883ad062f0a6ba973aa746e3d3c59422993f..55038391f5d08cdaf65124cb3051f7789ecd5253 100644 (file)
@@ -1,4 +1,4 @@
-;; autorevert --- Revert buffers when files on disk change.
+;;; autorevert --- revert buffers when files on disk change
 
 ;; Copyright (C) 1997, 1998 Free Software Foundation, Inc.
 
@@ -89,6 +89,8 @@ Global Auto-Revert Mode applies to all buffers."
 
 ;; Variables:
 
+;; Autoload for the benefit of `make-mode-line-mouse-sensitive'.
+;;;###autoload
 (defvar auto-revert-mode nil
   "*Non-nil when Auto-Revert Mode is active.
 
@@ -218,6 +220,7 @@ This is a minor mode that affects only the current buffer.
 Use `global-auto-revert-mode' to automatically revert all buffers."
   (interactive "P")
   (make-local-variable 'auto-revert-mode)
+  (put 'auto-revert-mode 'permanent-local t)
   (setq auto-revert-mode
        (if (null arg)
            (not auto-revert-mode)