aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-06-13 04:34:52 +0000
committerRichard M. Stallman1998-06-13 04:34:52 +0000
commit4dd9d86d22ae41c63702d487dd465d88d56720e5 (patch)
tree7d0bd85a26b913564e59c153b689509d60deb555
parenta440f81d29363c298141f434df4f471e12f37813 (diff)
downloademacs-4dd9d86d22ae41c63702d487dd465d88d56720e5.tar.gz
emacs-4dd9d86d22ae41c63702d487dd465d88d56720e5.zip
(find-file-noselect): Use find-file-noselect-1
after "Save file and revisit literally? ".
-rw-r--r--lisp/files.el3
1 files changed, 2 insertions, 1 deletions
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."
928 "Save file and revisit non-literally? ")) 928 "Save file and revisit non-literally? "))
929 (progn 929 (progn
930 (save-buffer) 930 (save-buffer)
931 (revert-buffer t t)) 931 (find-file-noselect-1 buf filename nowarn
932 rawfile truename number))
932 (if (y-or-n-p (if rawfile 933 (if (y-or-n-p (if rawfile
933 "Discard your edits and revisit file literally? " 934 "Discard your edits and revisit file literally? "
934 "Discard your edits and revisit file non-literally? ")) 935 "Discard your edits and revisit file non-literally? "))