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

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

Re: macro-replacement with quotes


From: Joost Kremers
Subject: Re: macro-replacement with quotes
Date: 24 Jan 2016 22:45:37 GMT
User-agent: slrn/1.0.1 (Linux)

Phillip Lord wrote:
> Is it possible to build a list within a macro which contains backquote,
> quote or comma symbols in it?
>
> Specifically, I was thinking of building a macro which expands to a
> pcase form, but I need the ` symbol in the expansion.

Aren't ' and ` simply shorthands for the functions `quote' and
`backquote' respectively? (Well, ok, `quote' is a special form and
`backquote' is a macro, but that shouldn't make a difference.) I've
never used a macro to create code that requires a backquote, but I've
often done it with `quote'. Works like a charm.



-- 
Joost Kremers                                   joostkremers@fastmail.fm
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


reply via email to

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