I am executing a src block on a table that is determined by a prompt. A minimal example:
#+NAME: a-table | Value | #+begin_src emacs-lisp :var (princ (format "table=a-table" (read-string "Select: "))) table #+end_src #+RESULTS: | Value |
All is fine except that read-string is executed twice and takes the second prompts value. In reality I'm using helm to select from a list of tables and the helm prompt also appears twice.
:var to a
header-args property changes nothing.
Org mode version 9.0.3 and
GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570