diff options
author | Bastien Guerry <bzg@altern.org> | 2009-07-21 07:51:32 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2009-07-21 07:51:32 +0200 |
commit | 7896ef6292c8f11e34ed0bae6ad47a580dc1e619 (patch) | |
tree | b60c9a70d802c43ee3e40b673176489be8d997d2 | |
parent | e1206a58639f4084a31808add15ef586a470794c (diff) | |
download | org-mode-7896ef6292c8f11e34ed0bae6ad47a580dc1e619.tar.gz |
org-export-generic format: Fix compatibility issue with Emacs 23.
Patch by Wes Hardaker <wjhns209@hardakers.net>
-rw-r--r-- | contrib/ChangeLog | 5 | ||||
-rw-r--r-- | contrib/lisp/org-export-generic.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 7e62df0..dd79560 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -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 diff --git a/contrib/lisp/org-export-generic.el b/contrib/lisp/org-export-generic.el index 9fedfb8..aba550e 100644 --- a/contrib/lisp/org-export-generic.el +++ b/contrib/lisp/org-export-generic.el @@ -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) |