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
076582fd
Commit
076582fd
authored
Nov 05, 2014
by
Michael Albinus
Browse files
* dired.c (Ffile_attributes): Return Qnil, if Fexpand_file_name
raises an error. Fixes: debbugs:18891
parent
58064b4d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/dired.c
src/dired.c
+4
-1
No files found.
src/ChangeLog
View file @
076582fd
2014-11-05 Michael Albinus <michael.albinus@gmx.de>
* dired.c (Ffile_attributes): Return Qnil, if Fexpand_file_name
raises an error. (Bug#18891)
2014-11-03 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (Fdump_glyph_matrix, Fdump_frame_glyph_matrix): Doc fix.
...
...
src/dired.c
View file @
076582fd
...
...
@@ -909,7 +909,10 @@ so last access time will always be midnight of that day. */)
Lisp_Object
encoded
;
Lisp_Object
handler
;
filename
=
Fexpand_file_name
(
filename
,
Qnil
);
filename
=
internal_condition_case_2
(
Fexpand_file_name
,
filename
,
Qnil
,
Qt
,
Fidentity
);
if
(
!
STRINGP
(
filename
))
return
Qnil
;
/* If the file name has special constructs in it,
call the corresponding file handler. */
...
...
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