branch: externals/org
commit 1d985406d88adca39071f7d92ebd3b1161b5abda
Author: Ihor Radchenko <yanta...@posteo.net>
Commit: Ihor Radchenko <yanta...@posteo.net>

    Revert "ob-core: Do not limit table size in babel output"
    
    This reverts commit 5347f4c75a84867b69103928c812b702284fcb06.
    
    `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.
---
 lisp/ob-core.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lisp/ob-core.el b/lisp/ob-core.el
index 060b0e8279..1259909a02 100644
--- a/lisp/ob-core.el
+++ b/lisp/ob-core.el
@@ -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))

Reply via email to