From 4b6bfab81741552697c4666488bcad00e33bc881 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Thu, 21 Jul 2011 11:05:19 -0600 Subject: [PATCH] ob: only call copy-seq on proper lists * lisp/ob.el (org-babel-sha1-hash): Only call copy-seq on proper lists. --- lisp/ob.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob.el b/lisp/ob.el index c1d750a04..28aeb2412 100644 --- a/lisp/ob.el +++ b/lisp/ob.el @@ -754,7 +754,7 @@ the current subtree." (setq lst (remove p lst))) lst) (norm (arg) - (let ((v (if (listp (cdr arg)) + (let ((v (if (and (listp (cdr arg)) (null (cddr arg))) (copy-seq (cdr arg)) (cdr arg)))) (when (and v (not (and (sequencep v) -- 2.11.4.GIT