changeset 4466:9d62b3cb7dd6

(after-find-file): Improve warning message about existing file that can't be read.
author Richard M. Stallman <rms@gnu.org>
date Fri, 06 Aug 1993 18:03:10 +0000
parents 794498c64928
children 1e8785572dd4
files lisp/files.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Fri Aug 06 01:56:26 1993 +0000
+++ b/lisp/files.el	Fri Aug 06 18:03:10 1993 +0000
@@ -694,7 +694,7 @@
 	   (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)