From 4dd9d86d22ae41c63702d487dd465d88d56720e5 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 13 Jun 1998 04:34:52 +0000 Subject: [PATCH] (find-file-noselect): Use find-file-noselect-1 after "Save file and revisit literally? ". --- lisp/files.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/files.el b/lisp/files.el index 63bab564651..9768853c381 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -928,7 +928,8 @@ Optional second arg RAWFILE non-nil means the file is read literally." "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? ")) -- 2.39.5