New macro: Wrap let-binding of uninterned SYMBOLS around BODY
commit4fe8369dae93ca0010d5350ea3a81edabe79050e
authorDavid Maus <dmaus@ictsoc.de>
Wed, 10 Aug 2011 05:28:41 +0000 (10 07:28 +0200)
committerDavid Maus <dmaus@ictsoc.de>
Wed, 10 Aug 2011 05:32:27 +0000 (10 07:32 +0200)
treedd29a38a17c9fd009f576bc4705ce70b6fcc5872
parentca3935b6e3e96257fa0575138cf017175a5eb7b6
New macro: Wrap let-binding of uninterned SYMBOLS around BODY

* org-macs.el (org-with-gensyms): New macro. Wrap let-binding of
SYMBOLS to new uninterned symbols around BODY.

Use this macro to compose macros that need to bind their own symbols
in expansion. It expands into a let-binding of all symbols in SYMBOLS
to new uninterned symbols that cannot collide with symbols used in the
target macro's expansion.
lisp/org-macs.el