** grabbing the current buffer during export :PROPERTIES: :DATE: 2011-04-01 :END: Eric #+begin_src emacs-lisp :var buf=(buffer-file-name (current-buffer)) :exports both (message "buffer %S!" buf) #+end_src #+begin_src sh :exports results :results output git log -1 #+end_src