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

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

Re: How does one use a macro in a special form?


From: Daniel Jensen
Subject: Re: How does one use a macro in a special form?
Date: Sun, 29 Jun 2003 15:07:10 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

address@hidden (Kai Gro├čjohann) writes:

> Something like this might work:
>
> (defmacro with-acm-indent++ (&rest body)
>   `(let ((indent-spaces (concat indent-spaces "    ")))
>      ,body))
>
> I haven't tested it, but maybe you get the idea.

That's funny, this is almost exactly what I wrote. The exception is
that your version doesn't work because you use ',' instead of ',@'.

-- 
Daniel Jensen
Editing is a rewording activity.


reply via email to

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