help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to apply (multi file) patches conveniently


From: Thien-Thi Nguyen
Subject: Re: How to apply (multi file) patches conveniently
Date: Thu, 09 Feb 2017 18:49:58 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

() Michael Heerdegen <michael_heerdegen@web.de>
() Wed, 08 Feb 2017 23:34:50 +0100

   >  (defun responsep (query)
   >    (pcase (context query)
   >      (`(technical mailing-list) t)
           ^
   You can use just a quote here instead of backquote, but it
   doesn't make a difference when you run that code ;-)

Thanks.  Good catch.  I've contrived a reason to use backquote.
It makes even more sense now.  M-x praise-pcase RET  :-D

-- 
Thien-Thi Nguyen -----------------------------------------------
 (defun responsep (query)
   (pcase (context query)
     (`(technical ,ml) (correctp ml))
     ...))                              748E A0E8 1CB8 A748 9BFA
--------------------------------------- 6CE4 6703 2224 4C80 7502

Attachment: signature.asc
Description: PGP signature


reply via email to

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