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

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

Re: eval trouble


From: Kevin Rodgers
Subject: Re: eval trouble
Date: Wed, 17 Sep 2008 01:51:54 -0600
User-agent: Thunderbird 2.0.0.16 (Macintosh/20080707)

Drew Adams wrote:
Please, why the comma before sym -- quoted, no less:
(put ',sym 'some 'value))))

See the Emacs manual, node Backquote.

Inside a backquote (`):
 ,sym evaluates sym and uses that value.
 ' then wraps that in (quote ...)

So if the value of sym is hello,
then ,sym gives hello and ',sym gives 'hello.

As does (quote ,sym)

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

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