branch: externals/notmuch-indicator commit 62a7da665990b5fa10db30277eaa63a4918ce577 Merge: c1c91a57f8 6b90b34220 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: GitHub <nore...@github.com>
Merge pull request #4 from sdelafond/escape-query-for-shell Escape query in case it contains special shell characters (Comment: #3) --- notmuch-indicator.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notmuch-indicator.el b/notmuch-indicator.el index 2f9ebae643..2ee27866d7 100644 --- a/notmuch-indicator.el +++ b/notmuch-indicator.el @@ -228,7 +228,7 @@ example that uses the `tab-bar-mode'." (format "%s --config=%S count %s" notmuch-indicator-notmuch-binary notmuch-indicator-notmuch-config-file - terms))))) + (shell-quote-argument terms)))))) (declare-function notmuch-search "notmuch"