|
From: | Sébastien Miquel |
Subject: | Re: local variables and export processing in hooks |
Date: | Thu, 11 Feb 2021 21:12:17 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |