Commit ff78d520 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

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

existing file that can't be read.
parent 88a2603a
......@@ -694,7 +694,7 @@ Finishes by calling the functions in `find-file-hooks'."
(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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment