emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 1d985406d8 3/3: Revert "ob-core: Do not limit table


From: ELPA Syncer
Subject: [elpa] externals/org 1d985406d8 3/3: Revert "ob-core: Do not limit table size in babel output"
Date: Sun, 20 Nov 2022 00:58:08 -0500 (EST)

branch: externals/org
commit 1d985406d88adca39071f7d92ebd3b1161b5abda
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@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

[Prev in Thread] Current Thread [Next in Thread]