0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 21:07:54 +00:00

org-e-ascii: Correctly indent table.el tables

* contrib/lisp/org-e-ascii.el (org-e-ascii-table): Remove indentation
  from table.el tables.
This commit is contained in:
Nicolas Goaziou 2012-04-22 17:00:32 +02:00
parent f1443e7a7a
commit 052247ce81

View file

@ -1592,7 +1592,7 @@ CONTENTS is nil. INFO is a plist holding contextual information."
(when (and caption org-e-ascii-caption-above) (concat caption "\n"))
;; Insert table. Note: "table.el" tables are left unmodified.
(if (eq (org-element-property :type table) 'org) contents
(org-element-property :value table))
(org-remove-indentation (org-element-property :value table)))
;; Possible add a caption string below.
(when (and caption (not org-e-ascii-caption-above))
(concat "\n" caption)))))