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: Protesilaos Stavrou
Subject: Re: [elpa] externals/notmuch-indicator f563869b6a 2/4: Tweak how the keymap is implemented
Date: Thu, 29 Sep 2022 06:26:14 +0300
User-agent: Notmuch/0.37 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu)

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Wed, 28 Sep 2022 16:38:38 -0400
>
> 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 ""
>

Installed it.  Thank you!

-- 
Protesilaos Stavrou
https://protesilaos.com

reply via email to

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