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