changeset 22465:5dcb65955074

(find-file-noselect): Use find-file-noselect-1 after "Save file and revisit literally? ".
author Richard M. Stallman <rms@gnu.org>
date Sat, 13 Jun 1998 04:34:52 +0000
parents fc8109f5d8f5
children 7e79814e7263
files lisp/files.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Sat Jun 13 04:34:18 1998 +0000
+++ b/lisp/files.el	Sat Jun 13 04:34:52 1998 +0000
@@ -928,7 +928,8 @@
 				    "Save file and revisit non-literally? "))
 			(progn
 			  (save-buffer)
-			  (revert-buffer t t))
+			  (find-file-noselect-1 buf filename nowarn
+						rawfile truename number))
 		      (if (y-or-n-p (if rawfile
 					"Discard your edits and revisit file literally? "
 				      "Discard your edits and revisit file non-literally? "))