emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: minor gripe


From: Richard Stallman
Subject: Re: minor gripe
Date: Sat, 15 Feb 2003 14:11:32 -0500

What do you think of this change?

*** files.el.~1.636.~   Fri Feb 14 13:50:30 2003
--- files.el    Sat Feb 15 10:57:28 2003
***************
*** 3362,3368 ****
                     (funcall revert-buffer-insert-file-contents-function
                              file-name auto-save-p)
                   (if (not (file-exists-p file-name))
!                      (error "File %s no longer exists!" file-name))
                   ;; Bind buffer-file-name to nil
                   ;; so that we don't try to lock the file.
                   (let ((buffer-file-name nil))
--- 3362,3371 ----
                     (funcall revert-buffer-insert-file-contents-function
                              file-name auto-save-p)
                   (if (not (file-exists-p file-name))
!                      (error (if buffer-file-number
!                                 "File %s no longer exists!"
!                               "Cannot revert nonexistent file %s")
!                             file-name))
                   ;; Bind buffer-file-name to nil
                   ;; so that we don't try to lock the file.
                   (let ((buffer-file-name nil))




reply via email to

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