From: Gerd Moellmann Date: Wed, 1 Dec 1999 16:22:27 +0000 (+0000) Subject: (auto-revert-buffers): Auto-revert mode was turned X-Git-Tag: emacs-pretest-21.0.90~5912 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a468671afcff9c2eda20bde44752f3a87b3d2b7e;p=emacs.git (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. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 77cd226d114..7daed0f764e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +1999-12-01 Anders Lindgren + + * autorevert.el (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. + 1999-12-01 Dave Love * delsel.el: Grok skeleton-pair-insert-maybe. diff --git a/lisp/autorevert.el b/lisp/autorevert.el index 55038391f5d..7845e05cedf 100644 --- a/lisp/autorevert.el +++ b/lisp/autorevert.el @@ -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 +;; Author: Anders Lindgren ;; 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 @@ the timer when no buffers need to be checked." 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))))