changeset 5974:bee9069f17e3

(revert-buffer): Use new insert-file-contents replace arg.
author Richard M. Stallman <rms@gnu.org>
date Thu, 17 Feb 1994 08:19:58 +0000
parents 628188ceb43b
children c766d816b07e
files lisp/files.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Thu Feb 17 05:52:56 1994 +0000
+++ b/lisp/files.el	Thu Feb 17 08:19:58 1994 +0000
@@ -1805,9 +1805,9 @@
 		 ;; so that we don't try to lock the file.
 		 (let ((buffer-file-name nil))
 		   (or auto-save-p
-		       (unlock-buffer))
-		   (erase-buffer))
-		 (insert-file-contents file-name (not auto-save-p))))
+		       (unlock-buffer)))
+		 (insert-file-contents file-name (not auto-save-p)
+				       nil nil t)))
 	     (goto-char (min opoint (point-max)))
 	     (after-find-file nil nil t)
 	     (run-hooks 'after-revert-hook)