emacs-devel
[Top][All Lists]
Advanced

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

Re: [elpa] externals/notmuch-indicator f563869b6a 2/4: Tweak how the key


From: Stefan Monnier
Subject: Re: [elpa] externals/notmuch-indicator f563869b6a 2/4: Tweak how the keymap is implemented
Date: Wed, 28 Sep 2022 16:38:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Here's another trivial simplification (more specifically an η-reduction).


        Stefan


diff --git a/notmuch-indicator.el b/notmuch-indicator.el
index 07ada7aec8..7680ccdc3d 100644
--- a/notmuch-indicator.el
+++ b/notmuch-indicator.el
@@ -199,8 +199,7 @@ option `notmuch-indicator-refresh-count'."
 (defun notmuch-indicator--return-count ()
   "Parse `notmuch-indicator-args' and format them as single string."
   (mapconcat
-   (lambda (props)
-     (notmuch-indicator--format-output props))
+   #'notmuch-indicator--format-output
    notmuch-indicator-args ""))
 
 (defvar notmuch-indicator-string ""




reply via email to

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