org-export-generic format: Fix compatibility issue with Emacs 23.

Patch by Wes Hardaker <wjhns209@hardakers.net>
This commit is contained in:
Bastien Guerry 2009-07-21 07:51:32 +02:00
parent e1206a5863
commit 7896ef6292
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-07-21 Wes Hardaker <wjhns209@hardakers.net> (tiny change)
* lisp/org-export-generic.el (org-export-generic-format): Fix
compatibility issue with Emacs 23.
2009-06-20 Carsten Dominik <carsten.dominik@gmail.com>
* README: List new file org-export-generic.el

View File

@ -1005,7 +1005,7 @@ REVERSE means to reverse the list if the plist match is a list
subtype)
(cond
((null prefixtype) "")
((and len (characterp prefixtype))
((and len (char-or-string-p prefixtype) (not (stringp prefixtype)))
;; sequence of chars
(concat (make-string len prefixtype) "\n"))
((stringp prefixtype)