evaluate elisp header args at original call site
commit685b2967247597f75d22cb77896bc8a70503b2c3
authorEric Schulte <schulte.eric@gmail.com>
Tue, 25 Jun 2013 13:55:32 +0000 (25 07:55 -0600)
committerEric Schulte <schulte.eric@gmail.com>
Tue, 25 Jun 2013 15:59:56 +0000 (25 09:59 -0600)
treea4bbc826a090ec82e6effbeb7c902c41253460bf
parentacb00702d57a6cc2f7e4bc7db2587b2d9a3ab042
evaluate elisp header args at original call site

* lisp/ob-core.el (org-babel-execute-src-block): Ensure that the
  location is set before anything else is done.
* lisp/ob-ref.el (org-babel-ref-parse): Evaluate Emacs Lisp values in
  header arguments at the location of the original code block.
* testing/lisp/test-ob.el (test-ob/location-of-header-arg-eval): Test
  defending the new header argument evaluation behavior.
lisp/ob-core.el
lisp/ob-ref.el
testing/lisp/test-ob.el