branch: externals/notmuch-indicator commit 6b90b34220e8ece3306638240e42289dae751d39 Author: Sébastien Delafond <s...@delafond.io> Commit: Sébastien Delafond <s...@delafond.io>
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"