summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2011-07-21 11:05:19 -0600
committerEric Schulte <schulte.eric@gmail.com>2011-07-21 11:05:33 -0600
commit4b6bfab81741552697c4666488bcad00e33bc881 (patch)
treeabe10e6e479546c8309ceb07091c1a8022cc3b1d
parent4fd9989b588a0659791b66c59cef79cb18218085 (diff)
downloadorg-mode-4b6bfab81741552697c4666488bcad00e33bc881.tar.gz
ob: only call copy-seq on proper lists
* lisp/ob.el (org-babel-sha1-hash): Only call copy-seq on proper lists.
-rw-r--r--lisp/ob.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob.el b/lisp/ob.el
index c1d750a..28aeb24 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)