diff lisp/files.el @ 7215:729f02b2d064

(revert-buffer): widen before replacing text.
author Karl Heuer <kwzh@gnu.org>
date Sat, 30 Apr 1994 02:41:03 +0000
parents 2b445c15563e
children c35a4919c161
line wrap: on
line diff
--- a/lisp/files.el	Sat Apr 30 02:19:25 1994 +0000
+++ b/lisp/files.el	Sat Apr 30 02:41:03 1994 +0000
@@ -1828,6 +1828,7 @@
 		 (let ((buffer-file-name nil))
 		   (or auto-save-p
 		       (unlock-buffer)))
+		 (widen)
 		 (insert-file-contents file-name (not auto-save-p)
 				       nil nil t)))
 	     (goto-char (min opoint (point-max)))