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: Emanuel Berg
Subject: Re: "cl-case" with strings
Date: Fri, 05 Feb 2016 05:58:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Dmitry Gutov <dgutov@yandex.ru> writes:

>> 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))

Clever!

But I still like mine the best!

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

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