[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 5347f4c75a 2/3: ob-core: Do not limit table size in
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 5347f4c75a 2/3: ob-core: Do not limit table size in babel output |
Date: |
Sun, 20 Nov 2022 00:58:08 -0500 (EST) |
branch: externals/org
commit 5347f4c75a84867b69103928c812b702284fcb06
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@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.ortmann@oracle.com>
Link:
https://orgmode.org/list/b7021ff3-60d7-863a-5579-dff60f7e1337@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))