From: Richard M. Stallman Date: Fri, 6 Aug 1993 18:03:10 +0000 (+0000) Subject: (after-find-file): Improve warning message about X-Git-Tag: emacs-19.34~11385 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ff78d52034c2be43b14579dbe6df5b3a40c2b1f9;p=emacs.git (after-find-file): Improve warning message about existing file that can't be read. --- diff --git a/lisp/files.el b/lisp/files.el index fbf75041726..6c35a19f522 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -694,7 +694,7 @@ Finishes by calling the functions in `find-file-hooks'." (msg (cond ((and error (file-attributes buffer-file-name)) (setq buffer-read-only t) - "File exists, but is read-protected.") + "File exists, but cannot be read.") ((not buffer-read-only) (if (and warn (file-newer-than-file-p (make-auto-save-file-name)