emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/files.el


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/files.el
Date: Thu, 24 Jan 2002 13:55:54 -0500

Index: emacs/lisp/files.el
diff -c emacs/lisp/files.el:1.548 emacs/lisp/files.el:1.549
*** emacs/lisp/files.el:1.548   Sat Jan 12 08:27:13 2002
--- emacs/lisp/files.el Thu Jan 24 13:55:53 2002
***************
*** 2745,2751 ****
              ;; delete the temp file.
              (or succeed
                  (progn
!                   (delete-file tempname)
                    (set-visited-file-modtime old-modtime))))
            ;; Since we have created an entirely new file
            ;; and renamed it, make sure it gets the
--- 2745,2753 ----
              ;; delete the temp file.
              (or succeed
                  (progn
!                   (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]