summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-08-06 18:03:10 +0000
committerRichard M. Stallman <rms@gnu.org>1993-08-06 18:03:10 +0000
commitff78d52034c2be43b14579dbe6df5b3a40c2b1f9 (patch)
tree329eb9e6bc14297d79edbdb579fcf8eb708d812e /lisp/files.el
parent88a2603af6cd29566444a22cee7bcbd22a13ef47 (diff)
downloademacs-ff78d52034c2be43b14579dbe6df5b3a40c2b1f9.tar.gz
(after-find-file): Improve warning message about
existing file that can't be read.
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
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)