changeset 26673:f649f6c04a54

(auto-revert-buffers): Auto-revert mode was turned off when reverting buffers that contained mode specifiers. `revert-buffer' is now called with non-nil PRESERVE-MODES argument.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 01 Dec 1999 16:19:24 +0000
parents 33a16c803784
children d8b4dc0d4b32
files lisp/autorevert.el
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/autorevert.el	Wed Dec 01 14:53:54 1999 +0000
+++ b/lisp/autorevert.el	Wed Dec 01 16:19:24 1999 +0000
@@ -1,11 +1,11 @@
 ;;; autorevert --- revert buffers when files on disk change
 
-;; Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+;; Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
 
-;; Author: Anders Lindgren <andersl@csd.uu.se>
+;; Author: Anders Lindgren <andersl@andersl.com>
 ;; Keywords: convenience
-;; Created: 1 Jun 1997
-;; Date: 3 Jul 1997
+;; Created: 1997-06-01
+;; Date: 1999-11-30
 
 ;; This file is part of GNU Emacs.
 
@@ -350,7 +350,7 @@
 				auto-revert-mode))))
 		(if auto-revert-verbose
 		    (message "Reverting buffer `%s'." buf))
-		(revert-buffer t t)))
+		(revert-buffer t t t)))
 	  ;; Remove dead buffer from `auto-revert-buffer-list'.
 	  (setq auto-revert-buffer-list
 		(delq buf auto-revert-buffer-list))))