DONE set header argument values on a buffer bases

  • State "DONE" from "TODO" 2010-06-14 Mon 12:07
  • State "TODO" from "" 2010-06-14 Mon 11:38

This is currently implemented using a #+BABEL: line similar to the existing #+OPTIONS: style lines.

NOTE: currently once this value is read the list of header arguments is cached in a buffer local variable to avoid excessive load while exporting many source blocks. This means that if you make changes to the contents of the #+BABEL: line you may need to close and re-open the buffer for these changes to take place, or run something like the following which will clear out the current value of the local variable

any suggestions for a better alternative are welcome.

(defun babel/clear-buffer-header-arguments ()
  (interactive)
  (setq org-babel-current-buffer-properties nil))