Commit a468671a authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(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.
parent 0fdcf38a
1999-12-01 Anders Lindgren <andersl@andersl.com>
* 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 <fx@gnu.org>
* delsel.el: Grok skeleton-pair-insert-maybe.
......
;;; 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 @@ 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))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment