summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-06-13 04:34:52 +0000
committerRichard M. Stallman <rms@gnu.org>1998-06-13 04:34:52 +0000
commit7cacb133409f005bd42bbb300a328ecb7874c668 (patch)
treeb32402d1b64573fb1d78a67d4140348c52ce50e0
parent7abbf0dcb4a8d8030d7ba03e8db112ce7959833c (diff)
downloademacs-7cacb133409f005bd42bbb300a328ecb7874c668.tar.gz
(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."
"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? "))