diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/filesets.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fdb8cf68e69..30553067a0b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2006-10-14 Lennart Borgman <lennart.borgman.073@student.lu.se> | ||
| 2 | |||
| 3 | * filesets.el (filesets-cmd-shell-command): Quote buffer-file-name | ||
| 4 | to protect whitespace and metacharacters from the shell. | ||
| 5 | |||
| 1 | 2006-10-13 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change) | 6 | 2006-10-13 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change) |
| 2 | 7 | ||
| 3 | * apropos.el (apropos-pattern-quoted): Fix a typo in a doc | 8 | * apropos.el (apropos-pattern-quoted): Fix a typo in a doc |
diff --git a/lisp/filesets.el b/lisp/filesets.el index eb8cdb02617..6e6ffc3add0 100644 --- a/lisp/filesets.el +++ b/lisp/filesets.el | |||
| @@ -1701,7 +1701,7 @@ Replace <file-name> or <<file-name>> with filename." | |||
| 1701 | ok) | 1701 | ok) |
| 1702 | t))) | 1702 | t))) |
| 1703 | (when ok | 1703 | (when ok |
| 1704 | (let ((cmd (format txt (buffer-file-name)))) | 1704 | (let ((cmd (format txt (shell-quote-argument (buffer-file-name))))) |
| 1705 | (message "Filesets: %s" cmd) | 1705 | (message "Filesets: %s" cmd) |
| 1706 | (filesets-cmd-show-result cmd | 1706 | (filesets-cmd-show-result cmd |
| 1707 | (shell-command-to-string cmd)))))) | 1707 | (shell-command-to-string cmd)))))) |