summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2012-04-22 17:00:32 +0200
committerNicolas Goaziou <n.goaziou@gmail.com>2012-04-22 17:00:32 +0200
commit052247ce811567f77d62da84aafa60ea641d9090 (patch)
treea1b27ce0f9d73f53a3ce664cdfb400e8dbd24581
parentf1443e7a7a3df8b13ab71cbe218a7038c7fb55b8 (diff)
downloadorg-mode-052247ce811567f77d62da84aafa60ea641d9090.tar.gz
org-e-ascii: Correctly indent table.el tables
* contrib/lisp/org-e-ascii.el (org-e-ascii-table): Remove indentation from table.el tables.
-rw-r--r--contrib/lisp/org-e-ascii.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/lisp/org-e-ascii.el b/contrib/lisp/org-e-ascii.el
index 56f5436..d68975e 100644
--- a/contrib/lisp/org-e-ascii.el
+++ b/contrib/lisp/org-e-ascii.el
@@ -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)))))