forked from mirrors/org-mode
Merge branch 'maint'
This commit is contained in:
commit
afa759f27c
|
@ -1774,9 +1774,10 @@ are ignored."
|
|||
(or (gethash key cache)
|
||||
(puthash
|
||||
key
|
||||
(or (and (not org-ascii-table-widen-columns)
|
||||
(org-export-table-cell-width table-cell info))
|
||||
(let* ((max-width 0))
|
||||
(let ((cookie-width (org-export-table-cell-width table-cell info)))
|
||||
(or (and (not org-ascii-table-widen-columns) cookie-width)
|
||||
(let ((contents-width
|
||||
(let ((max-width 0))
|
||||
(org-element-map table 'table-row
|
||||
(lambda (row)
|
||||
(setq max-width
|
||||
|
@ -1787,7 +1788,11 @@ are ignored."
|
|||
info))
|
||||
max-width)))
|
||||
info)
|
||||
max-width))
|
||||
max-width)))
|
||||
(cond ((not cookie-width) contents-width)
|
||||
(org-ascii-table-widen-columns
|
||||
(max cookie-width contents-width))
|
||||
(t cookie-width)))))
|
||||
cache))))
|
||||
|
||||
(defun org-ascii-table-cell (table-cell contents info)
|
||||
|
|
Loading…
Reference in a new issue