From a468671afcff9c2eda20bde44752f3a87b3d2b7e Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 1 Dec 1999 16:22:27 +0000 Subject: [PATCH] (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. --- lisp/ChangeLog | 7 +++++++ lisp/autorevert.el | 10 +++++----- 2 files changed, 12 insertions(+), 5 deletions(-) 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)))) -- 2.39.5