]> code.delx.au - gnu-emacs/commitdiff
(find-file-noselect): Use find-file-noselect-1
authorRichard M. Stallman <rms@gnu.org>
Sat, 13 Jun 1998 04:34:52 +0000 (04:34 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 13 Jun 1998 04:34:52 +0000 (04:34 +0000)
after "Save file and revisit literally? ".

lisp/files.el

index 63bab56465186723c3042a4c14d79c7dc987de7b..9768853c381f22a5a26b63e5a69ca1ccddf01882 100644 (file)
@@ -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? "))