[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/notmuch-indicator c1e73468cb: Fix typo in package descr
From: |
ELPA Syncer |
Subject: |
[elpa] externals/notmuch-indicator c1e73468cb: Fix typo in package description |
Date: |
Fri, 16 Jun 2023 06:58:15 -0400 (EDT) |
branch: externals/notmuch-indicator
commit c1e73468cb99c666858bbf5f802049598062f004
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Fix typo in package description
---
README.md | 2 +-
notmuch-indicator.el | 11 ++++++-----
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 6562c9f18a..06ae839379 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ search terms and associate them with a given label. The
label is purely
cosmetic, though it helps characterise the resulting counter.
The value of `notmuch-indicator-args` is a list of plists (property
-lists). Each plist consists of one mandarory property and two optional
+lists). Each plist consists of one mandatory property and two optional
ones:
1. The `:terms`, which is required, is a string that holds the
diff --git a/notmuch-indicator.el b/notmuch-indicator.el
index bfa3ecc512..9ee2a9e6c1 100644
--- a/notmuch-indicator.el
+++ b/notmuch-indicator.el
@@ -39,7 +39,7 @@
;; purely cosmetic, though it helps characterise the resulting counter.
;;
;; The value of `notmuch-indicator-args' is a list of plists (property
-;; lists). Each plist consists of one mandarory property and two
+;; lists). Each plist consists of one mandatory property and two
;; optional ones:
;;
;; 1. The `:terms', which is required, is a string that holds the
@@ -228,10 +228,11 @@ It is appended to the `global-mode-string'.")
(defun notmuch-indicator--running-p ()
"Return non-nil if `notmuch-indicator--indicator' is running."
- (delq nil
- (mapcar (lambda (timer)
- (eq (timer--function timer) 'notmuch-indicator--indicator))
- timer-list)))
+ (when (executable-find "notmuch")
+ (delq nil
+ (mapcar (lambda (timer)
+ (eq (timer--function timer) 'notmuch-indicator--indicator))
+ timer-list))))
(defun notmuch-indicator--run ()
"Run the timer with a delay, starting it if necessary.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/notmuch-indicator c1e73468cb: Fix typo in package description,
ELPA Syncer <=