Prechádzať zdrojové kódy

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

* contrib/lisp/org-e-ascii.el (org-e-ascii-table): Remove indentation
  from table.el tables.
Nicolas Goaziou 13 rokov pred
rodič
commit
052247ce81
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      contrib/lisp/org-e-ascii.el

+ 1 - 1
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)))))