From 216521ea2ba54106d0dc6a29248d5691deca5dcd Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 3 Aug 2013 01:51:47 +0200 Subject: [PATCH] ox-ascii: Remove spurious new line between a table and the caption below * lisp/ox-ascii.el (org-ascii-table): Remove spurious new line between a table and the caption below. Thanks to Rick Frankel for reporting it and providing a patch. --- lisp/ox-ascii.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/ox-ascii.el b/lisp/ox-ascii.el index 59d015237..4080d4663 100644 --- a/lisp/ox-ascii.el +++ b/lisp/ox-ascii.el @@ -1657,8 +1657,7 @@ contextual information." (buffer-substring (point-min) (point)))) (t (org-remove-indentation (org-element-property :value table)))) ;; Possible add a caption string below. - (when (and caption (not org-ascii-caption-above)) - (concat "\n" caption))))) + (and (not org-ascii-caption-above) caption)))) ;;;; Table Cell -- 2.11.4.GIT