Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ff78d520
Commit
ff78d520
authored
Aug 06, 1993
by
Richard M. Stallman
Browse files
(after-find-file): Improve warning message about
existing file that can't be read.
parent
88a2603a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/files.el
lisp/files.el
+1
-1
No files found.
lisp/files.el
View file @
ff78d520
...
...
@@ -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-protecte
d."
)
"File exists, but
cannot be rea
d."
)
((
not
buffer-read-only
)
(
if
(
and
warn
(
file-newer-than-file-p
(
make-auto-save-file-name
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment