Commit 4dd9d86d authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(find-file-noselect): Use find-file-noselect-1

after "Save file and revisit literally? ".
parent a440f81d
......@@ -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? "))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment