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

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

[elpa] externals/notmuch-indicator 8b7d8297e6 2/2: Merge branch 'main' o


From: ELPA Syncer
Subject: [elpa] externals/notmuch-indicator 8b7d8297e6 2/2: Merge branch 'main' of github.com:protesilaos/notmuch-indicator
Date: Fri, 12 Jan 2024 04:21:25 -0500 (EST)

branch: externals/notmuch-indicator
commit 8b7d8297e6e05e4a78d87641f641bfdfe003bbd6
Merge: 538b8d2ea5 72abc677a0
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Merge branch 'main' of github.com:protesilaos/notmuch-indicator
---
 README.org           |  4 ++--
 notmuch-indicator.el | 11 ++++++-----
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/README.org b/README.org
index e8659931e5..ad55a57bb2 100644
--- a/README.org
+++ b/README.org
@@ -318,8 +318,8 @@ of help matters.
 
 + Author/maintainer :: Protesilaos Stavrou.
 
-+ Contributions to code or user feedback :: Henrik Kjerringvåg, Stefan
-  Monnier, Yusef Aslam.
++ Contributions to code or user feedback :: Henrik Kjerringvåg, MikeS,
+  Mohamed Suliman, Stefan Monnier, Yusef Aslam.
 
 * GNU Free Documentation License
 :PROPERTIES:
diff --git a/notmuch-indicator.el b/notmuch-indicator.el
index 04f288f049..0bf91bc5c5 100644
--- a/notmuch-indicator.el
+++ b/notmuch-indicator.el
@@ -224,11 +224,12 @@ example that uses the `tab-bar-mode'."
   "Run shell command for `notmuch-count(1)' with TERMS."
   (replace-regexp-in-string
    "\n" ""
-   (shell-command-to-string
-    (format "%s --config=%S count %s"
-            notmuch-indicator-notmuch-binary
-            notmuch-indicator-notmuch-config-file
-            terms))))
+   (let ((default-directory "~"))
+     (shell-command-to-string
+      (format "%s --config=%S count %s"
+              notmuch-indicator-notmuch-binary
+              notmuch-indicator-notmuch-config-file
+              terms)))))
 
 (declare-function
  notmuch-search "notmuch"



reply via email to

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