emacs-orgmode
[Top][All Lists]
Advanced

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

[O] #+include: with ``adjustable'' path (separately defined, like macro


From: Martin Steffen
Subject: [O] #+include: with ``adjustable'' path (separately defined, like macro expansion)
Date: Sat, 14 Nov 2015 07:31:51 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Hi,

I'd like to achieve something like the following (which does not work)

#+MACRO: custompath  ~/some/place/where/the/code/resides
#+include: "{{{custompath}}}src/example.code" 


Macro-expansion generally works, but not in those circumstances. I also
seens that there's the 

#+LINK: customurl

which conceptually does such macro expansion but it seems intended for
linking in stuff, not for "embedding" pieces of code.


Is there a way to achieve what I want, which I overlooked?
Thanks, Martin








reply via email to

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