branch: externals/notmuch-indicator
commit 952ff56c509fe1392078b5168f9e32d06ac0c07f
Merge: f399ac107c 2f1558e6d9
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: GitHub <nore...@github.com>

    Merge pull request #6 from goofansu/patch-1
    
    Add support for macOS notmuch configuration paths
---
 notmuch-indicator.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/notmuch-indicator.el b/notmuch-indicator.el
index c32676763a..fceda5efcd 100644
--- a/notmuch-indicator.el
+++ b/notmuch-indicator.el
@@ -169,6 +169,8 @@ option `notmuch-indicator-refresh-count'."
   "Return `notmuch' configuration file."
   (catch 'found
     (dolist (path '("$XDG_CONFIG_HOME/notmuch/$NOTMUCH_PROFILE/config"
+                    "$HOME/.config/notmuch/$NOTMUCH_PROFILE/config"
+                    "$HOME/.config/notmuch/default/config"
                     "$HOME/.notmuch-config.$NOTMUCH_PROFILE"
                     "$HOME/.notmuch-config"))
       (when-let* ((config (substitute-env-vars path))

Reply via email to