Eric Schulte <schulte.e...@gmail.com> writes: >> Wrong usage of :var or limitations of header arguments? > > This is to be expected. The two blocks above compose to something like > > #+begin_src emacs-lisp > (file-name-nondirectory > (file-name-directory > (directory-file-name > (file-name-directory > (buffer-file-name))))) > #+end_src > > Calling `file-name-nondirectory' on the results of `file-name-directory' > seems like it should give you an empty string.
Yes, I figured that out myself before I saw your post, there was a mistake in my code. Thanks anyway. -- cheers, Thorsten