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

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

Re: Is it possible for a macro to expand to nothing?


From: Pascal J. Bourguignon
Subject: Re: Is it possible for a macro to expand to nothing?
Date: Fri, 27 Nov 2009 18:45:33 +0100
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.3 (darwin)

Helmut Eller <address@hidden> writes:

> * Pascal J. Bourguignon [2009-11-27 14:52+0100] writes:
>
>> ,@ cannot be put outside of a ` context, never ever.
>
> That's not true.  ,@ outside of backquote is just an ordinary symbol:
>
> (defun ,@ () "it works")
> (defun , () "this works too")
> (message "See, how %s.  And %s." (,@) (,))

Oops!   (I was right in Common Lisp, but emacs lisp is different here).

-- 
__Pascal Bourguignon__


reply via email to

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