Re: [PATCH 1/2] emacs: Use pcase in notmuch-search-insert-field

Subject: Re: [PATCH 1/2] emacs: Use pcase in notmuch-search-insert-field

Date: Mon, 15 Feb 2021 17:16:24 -0400

To: David Edmondson, notmuch@notmuchmail.org

Cc:

From: David Bremner


David Edmondson <dme@dme.org> writes:

> Rather than lots of string-equal calls, use the pcase macro.

1. Alas, it doesn't apply anymore. Looks like too much cleanup from
   Jonas.

2. A glance at the pcase docs suggests the cond wrapping pcase can be
   avoided by using (pred functionp). Of course I've not actually tried
   it.

d

   
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: