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

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

Re: "cl-case" with strings


From: Dmitry Gutov
Subject: Re: "cl-case" with strings
Date: Fri, 5 Feb 2016 07:55:53 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0

On 02/05/2016 01:41 AM, Emanuel Berg wrote:

(pcase foo ("toto" do-the-toto-thing) ("titi" do-the-titi-thing))

Does it work with multiple keys (keylists) as well?

(pcase "bar"
  ("toto" do-the-toto-thing)
  ((or "foo" "bar") do-the-foobar-thing)
  ("titi" do-the-titi-thing))





reply via email to

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