** expand variable during tangling :PROPERTIES: :tangle: yes :DATE: 2011-06-20 :END: #+begin_src sh :var VER=(vc-working-revision (buffer-file-name)) echo $VER #+end_src