[BUG FIX] DONE non-orgtbl formatted lists

This commit is contained in:
Eric Schulte 2009-08-14 15:15:23 -06:00
parent 9b25adfd48
commit 8ba39da7e9
2 changed files with 4 additions and 3 deletions

View file

@ -529,7 +529,7 @@ silent -- no results are inserted"
(progn
(insert
(concat (orgtbl-to-orgtbl
(if (consp (car result)) result (list result))
(if (listp (cdr (car result))) result (list result))
'(:fmt (lambda (cell) (format "%S" cell)))) "\n"))
(forward-line -1)
(org-cycle))))

View file

@ -2819,7 +2819,7 @@ dot("$(2a,0)$",(2,0),N+E);
*** DONE sh
* Bugs [33/41]
* Bugs [34/41]
** TODO Python session evaluation bug
The following block evaluates correctly with :session none
(set :results to output), but fails with session-based evaluation
@ -3020,7 +3020,7 @@ even a third"
#+begin_src sh
size=5
#+end_src
** TODO non-orgtbl formatted lists
** DONE non-orgtbl formatted lists
for example
#+srcname: this-doesn't-match-orgtbl
@ -3029,6 +3029,7 @@ for example
#+end_src
#+resname: this-doesn't-match-orgtbl
| (:results . "replace") |
#+srcname: this-probably-also-wont-work
#+begin_src emacs-lisp :results replace