emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/notmuch-indicator 6b90b34220 1/3: Escape query in case


From: ELPA Syncer
Subject: [elpa] externals/notmuch-indicator 6b90b34220 1/3: Escape query in case it contains special shell characters (Comment: #3)
Date: Tue, 7 May 2024 03:59:03 -0400 (EDT)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]