branch: externals/org commit 5347f4c75a84867b69103928c812b702284fcb06 Author: Ihor Radchenko <yanta...@posteo.net> Commit: Ihor Radchenko <yanta...@posteo.net>
ob-core: Do not limit table size in babel output * lisp/ob-core.el (org-babel-import-elisp-from-file): Do not limit the maximum possible resulting table to `org-table-convert-region-max-lines'. Reported-by: Daniel Ortmann <daniel.ortm...@oracle.com> Link: https://orgmode.org/list/b7021ff3-60d7-863a-5579-dff60f7e1...@oracle.com --- lisp/ob-core.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index 1259909a02..060b0e8279 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -3208,7 +3208,9 @@ If the table is trivial, then return it as a scalar." ;; If the file was empty, don't bother trying to ;; convert the table. (when (> pmax 1) - (org-table-convert-region (point-min) pmax separator) + ;; Convert tables of arbitrary size. + (let ((org-table-convert-region-max-lines most-positive-fixnum)) + (org-table-convert-region (point-min) pmax separator)) (delq nil (mapcar (lambda (row) (and (not (eq row 'hline))