changeset 7215:729f02b2d064

(revert-buffer): widen before replacing text.
author Karl Heuer <kwzh@gnu.org>
date Sat, 30 Apr 1994 02:41:03 +0000
parents 5a6f2a00002d
children 6ecee038c1c9
files lisp/files.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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)))