(after-find-file): Improve warning message about
existing file that can't be read.
This commit is contained in:
parent
88a2603af6
commit
ff78d52034
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue