Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a74aaa9d
Commit
a74aaa9d
authored
Dec 19, 2001
by
Eli Zaretskii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(file_name_completion): Run the elements of
completion-ignored-extensions through ENCODE_FILE.
parent
94995927
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/dired.c
src/dired.c
+6
-0
No files found.
src/dired.c
View file @
a74aaa9d
...
...
@@ -572,6 +572,9 @@ file_name_completion (file, dirname, all_flag, ver_flag)
elt
=
XCAR
(
tem
);
if
(
!
STRINGP
(
elt
))
continue
;
/* Need to encode ELT, since scmp compares unibyte
strings only. */
elt
=
ENCODE_FILE
(
elt
);
elt_len
=
XSTRING
(
elt
)
->
size
-
1
;
/* -1 for trailing / */
if
(
elt_len
<=
0
)
continue
;
...
...
@@ -598,6 +601,9 @@ file_name_completion (file, dirname, all_flag, ver_flag)
{
elt
=
XCAR
(
tem
);
if
(
!
STRINGP
(
elt
))
continue
;
/* Need to encode ELT, since scmp compares unibyte
strings only. */
elt
=
ENCODE_FILE
(
elt
);
skip
=
len
-
XSTRING
(
elt
)
->
size
;
if
(
skip
<
0
)
continue
;
...
...
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