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
ec579201
Commit
ec579201
authored
Oct 06, 2006
by
Kim F. Storm
Browse files
(ido-wide-find-dirs-or-files): Use shell-quote-argument.
parent
5879ac68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
lisp/ido.el
lisp/ido.el
+6
-1
No files found.
lisp/ido.el
View file @
ec579201
...
...
@@ -3136,7 +3136,12 @@ for first matching file."
(
let
((
filenames
(
split-string
(
shell-command-to-string
(
concat
"find "
dir
" -name \""
(
if
prefix
""
"*"
)
file
"*\" -type "
(
if
finddir
"d"
"f"
)
" -print"
))))
(
concat
"find "
(
shell-quote-argument
dir
)
" -name "
(
shell-quote-argument
(
concat
(
if
prefix
""
"*"
)
file
"*"
))
" -type "
(
if
finddir
"d"
"f"
)
" -print"
))))
filename
d
f
res
)
(
while
filenames
...
...
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