# HG changeset patch # User Richard M. Stallman # Date 1011898553 0 # Node ID 193c9307d56234ec3e716e5890ba7025cabd03f8 # Parent f03a11bcb718ded82ad0896accc1e5ed83b62bea (basic-save-buffer-2): Ignore file-error in delete-file. diff -r f03a11bcb718 -r 193c9307d562 lisp/files.el --- a/lisp/files.el Thu Jan 24 17:18:35 2002 +0000 +++ b/lisp/files.el Thu Jan 24 18:55:53 2002 +0000 @@ -2745,7 +2745,9 @@ ;; delete the temp file. (or succeed (progn - (delete-file tempname) + (condition-case nil + (delete-file tempname) + (file-error nil)) (set-visited-file-modtime old-modtime)))) ;; Since we have created an entirely new file ;; and renamed it, make sure it gets the