Bastien Guerry 10 роки тому
батько
коміт
b69243d44b
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      lisp/ob-core.el

+ 3 - 3
lisp/ob-core.el

@@ -2191,9 +2191,9 @@ code ---- the results are extracted in the syntax of the source
 		 ((funcall proper-list-p result)
 		  (goto-char beg)
 		  (insert (concat (orgtbl-to-orgtbl
-				   (if (or (eq 'hline (car result))
-					   (and (listp (car result))
-						(listp (cdr (car result)))))
+				   (if (org-every
+					(lambda (el) (or (listp el) (eq el 'hline)))
+					result)
 				       result (list result))
 				   '(:fmt (lambda (cell) (format "%s" cell)))) "\n"))
 		  (goto-char beg) (when (org-at-table-p) (org-table-align)))