M. ‘quintus’ Gülker writes:
Now I wonder whether #+BIND is more elegant. But my macro expansion
function modifies a buffer-local variable. Does #+BIND allow for that,
so that the changed value is available in the original org buffer?
The purpose of #+BIND is to set some variables in the copied buffer.
Also, these variables are set after macro expansion (and
org-export-before-parsing-hook).
I'm curious, could you explain why/how you use macros to set variables
in the original buffer ?
--
Sébastien Miquel