diff options
author | Carl Worth <cworth@cworth.org> | 2009-11-24 19:08:53 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-11-24 19:08:53 -0800 |
commit | adef90791867001f859d3b3fdcb46d265148cd11 (patch) | |
tree | dc215f428886defad720915722a630d44c86e278 /notmuch.el | |
parent | 93af7b574598637c2766dd1f8ef343962c9a8efb (diff) |
notmuch.el: Quote arguments to protect from shell interpretation.
We want to allow the user to be able to use search expressions with
parentheses and semi-colons, etc. and we definitely don't want the
shell interpreting those!
Diffstat (limited to 'notmuch.el')
-rw-r--r-- | notmuch.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1033,7 +1033,7 @@ This function advances point to the next line when finished." (let ((proc (start-process-shell-command "notmuch-search" buffer notmuch-command "search" (if oldest-first "--sort=oldest-first" "--sort=newest-first") - query))) + (shell-quote-argument query)))) (set-process-sentinel proc 'notmuch-search-process-sentinel) (set-process-filter proc 'notmuch-search-process-filter)))) (run-hooks 'notmuch-search-hook))) |