Commit 65b4263f authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(filesets-cmd-shell-command): Quote buffer-file-name to protect whitespace and

metacharacters from the shell.
parent 53bc2a31
2006-10-14 Lennart Borgman <lennart.borgman.073@student.lu.se>
* filesets.el (filesets-cmd-shell-command): Quote buffer-file-name
to protect whitespace and metacharacters from the shell.
2006-10-13 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
 
* apropos.el (apropos-pattern-quoted): Fix a typo in a doc
......@@ -1701,7 +1701,7 @@ Replace <file-name> or <<file-name>> with filename."
ok)
t)))
(when ok
(let ((cmd (format txt (buffer-file-name))))
(let ((cmd (format txt (shell-quote-argument (buffer-file-name)))))
(message "Filesets: %s" cmd)
(filesets-cmd-show-result cmd
(shell-command-to-string cmd))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment