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
This commit is contained in:
Nicolas Goaziou 2014-08-03 21:41:37 +02:00
parent 381ad4b33a
commit 0feec82c63
1 changed files with 1 additions and 1 deletions

View File

@ -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))