Revert "ob-core: Do not limit table size in babel output"

This reverts commit 5347f4c75a.

`org-table-convert-region-max-lines' has been introduced explicitly
for the problem of babel output.  Therefore the commit was against the
established logic.  A different approach needs to be used to tackle
the reported problem.
This commit is contained in:
Ihor Radchenko 2022-11-20 13:19:43 +08:00
parent 5347f4c75a
commit 1d985406d8
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 3 deletions

View File

@ -3208,9 +3208,7 @@ 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)
;; Convert tables of arbitrary size.
(let ((org-table-convert-region-max-lines most-positive-fixnum))
(org-table-convert-region (point-min) pmax separator))
(org-table-convert-region (point-min) pmax separator)
(delq nil
(mapcar (lambda (row)
(and (not (eq row 'hline))