[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hypothetical question about macros
From: |
Teemu Likonen |
Subject: |
Re: hypothetical question about macros |
Date: |
Tue, 24 May 2011 20:00:57 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
* 2011-04-14T16:33:15-07:00 * Alan wrote:
> If there were some reason not to have to resort to using "progn" I
> don't see how to do so.
You can have almost any kind of code in a macro definition, but note
that a macro is single expressions in source code and it also expands to
a single expression. If you need several commands (imperative-speaking)
in the expanded code you need to wrap them.