From 0feec82c63f6e55045526ebfd4913d3e7ffe03ae Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 3 Aug 2014 21:41:37 +0200 Subject: [PATCH] ox-ascii: Fix error preventing export * lisp/ox-ascii.el (org-ascii-filter-paragraph-spacing): Fix "concat: Wrong type argument: wholenump, auto" error. Thanks to Xebar Saram for reporting the bug and to Eric Abrahamsen for finding it out. http://permalink.gmane.org/gmane.emacs.orgmode/89096 --- lisp/ox-ascii.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-ascii.el b/lisp/ox-ascii.el index b31367224..60ec4ac14 100644 --- a/lisp/ox-ascii.el +++ b/lisp/ox-ascii.el @@ -1945,7 +1945,7 @@ a communication channel. See `org-ascii-paragraph-spacing' for information." (let ((paragraph-spacing (plist-get info :ascii-paragraph-spacing))) - (when paragraph-spacing + (when (wholenump paragraph-spacing) (org-element-map tree 'paragraph (lambda (p) (when (eq (org-element-type (org-export-get-next-element p info)) -- 2.11.4.GIT