forked from mirrors/org-mode
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:
parent
5347f4c75a
commit
1d985406d8
|
@ -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
|
;; If the file was empty, don't bother trying to
|
||||||
;; convert the table.
|
;; convert the table.
|
||||||
(when (> pmax 1)
|
(when (> pmax 1)
|
||||||
;; Convert tables of arbitrary size.
|
(org-table-convert-region (point-min) pmax separator)
|
||||||
(let ((org-table-convert-region-max-lines most-positive-fixnum))
|
|
||||||
(org-table-convert-region (point-min) pmax separator))
|
|
||||||
(delq nil
|
(delq nil
|
||||||
(mapcar (lambda (row)
|
(mapcar (lambda (row)
|
||||||
(and (not (eq row 'hline))
|
(and (not (eq row 'hline))
|
||||||
|
|
Loading…
Reference in New Issue