all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Exporting org-babel to HTML fails (uses copy-seq instead of copy-sequence in ob.el)
@ 2011-07-22 11:33 Sébastien Delafond
  2011-07-22 13:29 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Sébastien Delafond @ 2011-07-22 11:33 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-22 14:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-22 11:33 Exporting org-babel to HTML fails (uses copy-seq instead of copy-sequence in ob.el) Sébastien Delafond
2011-07-22 13:29 ` Bastien
2011-07-22 14:53   ` Sébastien Delafond

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.