From: Richard M. Stallman Date: Sat, 13 Jun 1998 04:34:52 +0000 (+0000) Subject: (find-file-noselect): Use find-file-noselect-1 X-Git-Tag: emacs-20.3~614 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4dd9d86d22ae41c63702d487dd465d88d56720e5;p=emacs.git (find-file-noselect): Use find-file-noselect-1 after "Save file and revisit literally? ". --- 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? "))