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
7b3d6b9c
Commit
7b3d6b9c
authored
Dec 21, 1997
by
Richard M. Stallman
Browse files
(find-file-noselect): Fix previous change.
parent
6b0f9bdf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
lisp/files.el
lisp/files.el
+4
-2
No files found.
lisp/files.el
View file @
7b3d6b9c
...
...
@@ -914,7 +914,8 @@ Optional second arg RAWFILE non-nil means the file is read literally."
(
condition-case
()
(
insert-file-contents-literally
filename
t
)
(
file-error
(
when
(
not
(
file-readable-p
filename
))
(
when
(
and
(
file-exists-p
filename
)
(
not
(
file-readable-p
filename
)))
(
kill-buffer
buf
)
(
signal
'file-error
(
list
"File is not readable"
filename
)))
...
...
@@ -923,7 +924,8 @@ Optional second arg RAWFILE non-nil means the file is read literally."
(
condition-case
()
(
insert-file-contents
filename
t
)
(
file-error
(
when
(
not
(
file-readable-p
filename
))
(
when
(
and
(
file-exists-p
filename
)
(
not
(
file-readable-p
filename
)))
(
kill-buffer
buf
)
(
signal
'file-error
(
list
"File is not readable"
filename
)))
...
...
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