unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Protesilaos Stavrou <info@protesilaos.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: [elpa] externals/notmuch-indicator f563869b6a 2/4: Tweak how the keymap is implemented
Date: Thu, 29 Sep 2022 06:26:14 +0300	[thread overview]
Message-ID: <871qrueu95.fsf@protesilaos.com> (raw)
In-Reply-To: <jwvzgejs0aa.fsf-monnier+emacs@gnu.org>

> 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	other threads:[~2022-09-29  3:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <166438787034.3914.5858408463434087870@vcs2.savannah.gnu.org>
     [not found] ` <20220928175750.D5B2CC00615@vcs2.savannah.gnu.org>
2022-09-28 18:30   ` [elpa] externals/notmuch-indicator f563869b6a 2/4: Tweak how the keymap is implemented Stefan Monnier
2022-09-28 18:58     ` Protesilaos Stavrou
2022-09-28 19:15       ` Stefan Monnier
2022-09-28 20:38       ` Stefan Monnier
2022-09-29  3:26         ` Protesilaos Stavrou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871qrueu95.fsf@protesilaos.com \
    --to=info@protesilaos.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).