Преглед на файлове

ob: only call copy-seq on proper lists

* lisp/ob.el (org-babel-sha1-hash): Only call copy-seq on proper
  lists.
Eric Schulte преди 14 години
родител
ревизия
4b6bfab817
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      lisp/ob.el

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