Use dummy headers, but just for single row tables

This commit is contained in:
Lars Tveito 2016-02-28 11:33:21 +01:00
parent 92f418d3c5
commit 77447e8cd3

View File

@ -192,8 +192,7 @@ channel."
CONTENTS is the contents of the table. INFO is a plist holding
contextual information."
(let* ((rows (org-element-map table 'table-row 'identity info))
(no-header (or (<= (length rows) 1)
(not (eq 'rule (org-element-property :type (cadr rows))))))
(no-header (or (<= (length rows) 1)))
(cols (cdr (org-export-table-dimensions table info)))
(build-dummy-header
(function