[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Exporting org-babel to HTML fails (uses copy-seq instead of copy-seq
From: |
Sébastien Delafond |
Subject: |
[O] Exporting org-babel to HTML fails (uses copy-seq instead of copy-sequence in ob.el) |
Date: |
Fri, 22 Jul 2011 11:33:34 +0000 (UTC) |
User-agent: |
slrn/pre1.0.0-18 (Linux) |
Hello,
>From Debian bug #634695[0]:
the babel part of org-mode uses copy-seq on line 758, where in fact, I
think, it should be using copy-sequence. Or is there a valid reason for
this? At least, it makes exporting org-mode documents to HTML impossible
if they use babel features. That bug seems to be also present upstream
(I checked commit ce2a33104b0e724b5227445cf5d5ceb240783870).
The following patch, contributed by the bug submitter, seems to fix it.
Cheers,
--Seb
--- org-mode-7.6.orig/lisp/ob.el
+++ org-mode-7.6/lisp/ob.el
@@ -755,7 +755,7 @@ the current subtree."
lst)
(norm (arg)
(let ((v (if (listp (cdr arg))
- (copy-seq (cdr arg))
+ (copy-sequence (cdr arg))
(cdr arg))))
(when (and v (not (and (sequencep v)
(not (consp v))
- [O] Exporting org-babel to HTML fails (uses copy-seq instead of copy-sequence in ob.el),
Sébastien Delafond <=