# HG changeset patch # User Karl Heuer # Date 767673663 0 # Node ID 729f02b2d0640b6c5f743f3e71affd5796a0f9a2 # Parent 5a6f2a00002d3198bd0e57bc9fccece1184e61f0 (revert-buffer): widen before replacing text. diff -r 5a6f2a00002d -r 729f02b2d064 lisp/files.el --- 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)))