[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/notmuch-indicator a449076378 2/4: Call mapconcat with 3
From: |
ELPA Syncer |
Subject: |
[elpa] externals/notmuch-indicator a449076378 2/4: Call mapconcat with 3 arguments |
Date: |
Wed, 28 Sep 2022 14:57:50 -0400 (EDT) |
branch: externals/notmuch-indicator
commit a44907637802e9ee235b54fd58302506708e7a9f
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Call mapconcat with 3 arguments
Thanks to Stefan Monnier for pointing out that Emacs 27 requires all
three arguments. What I had before requires Emacs 29. This
information was provided on the emacs-devel mailing list:
<https://lists.gnu.org/archive/html/emacs-devel/2022-09/msg01949.html>.
The case of mapconcat is the sort of inconsistency that is hard to
detect. The docstring of the function does not explain as much and
the compiler does not warn about it either.
---
notmuch-indicator.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/notmuch-indicator.el b/notmuch-indicator.el
index 2df590cbcd..ef2ea4e413 100644
--- a/notmuch-indicator.el
+++ b/notmuch-indicator.el
@@ -195,7 +195,7 @@ option `notmuch-indicator-refresh-count'."
(mapconcat
(lambda (props)
(notmuch-indicator--format-output props))
- notmuch-indicator-args))
+ notmuch-indicator-args ""))
(defvar notmuch-indicator-string ""
"String showing the `notmuch-indicator' state.