(after-find-file): Improve warning message about

existing file that can't be read.
This commit is contained in:
Richard M. Stallman 1993-08-06 18:03:10 +00:00
parent 88a2603af6
commit ff78d52034

View file

@ -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)