emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Macro and babel


From: tony day
Subject: [O] Macro and babel
Date: Wed, 19 Sep 2012 10:54:10 +1000

I had written this:

,----
| #+MACRO: testdir ~/working
| #+begin_src sh
|   cd  {{{testdir}}}
| #+end_src
`----

Thinking it would do this:

,----
| #+begin_src sh
|   cd ~/working
| #+end_src
`----
Alas, #+Macro acts on export only.
 
Is there a quick way to effect general text substitution on C-c C-c?  That 
would be an awesome feature, basically adding macro capabilities to every 
babelable language.  Or am I missing something?


Tony


reply via email to

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