summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2013-08-03 01:51:47 +0200
committerNicolas Goaziou <n.goaziou@gmail.com>2013-08-03 01:51:47 +0200
commit216521ea2ba54106d0dc6a29248d5691deca5dcd (patch)
treed19409bea2a9e3b0d589554b8479a1a6c45736b7
parentcc10c80d8504d1be59521e291923179170cb3792 (diff)
downloadorg-mode-216521ea2ba54106d0dc6a29248d5691deca5dcd.tar.gz
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.
-rw-r--r--lisp/ox-ascii.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/ox-ascii.el b/lisp/ox-ascii.el
index 59d0152..4080d46 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