forked from mirrors/org-mode
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:
parent
381ad4b33a
commit
0feec82c63
|
@ -1945,7 +1945,7 @@ a communication channel.
|
||||||
|
|
||||||
See `org-ascii-paragraph-spacing' for information."
|
See `org-ascii-paragraph-spacing' for information."
|
||||||
(let ((paragraph-spacing (plist-get info :ascii-paragraph-spacing)))
|
(let ((paragraph-spacing (plist-get info :ascii-paragraph-spacing)))
|
||||||
(when paragraph-spacing
|
(when (wholenump paragraph-spacing)
|
||||||
(org-element-map tree 'paragraph
|
(org-element-map tree 'paragraph
|
||||||
(lambda (p)
|
(lambda (p)
|
||||||
(when (eq (org-element-type (org-export-get-next-element p info))
|
(when (eq (org-element-type (org-export-get-next-element p info))
|
||||||
|
|
Loading…
Reference in New Issue