Browse Source

babel: Fix check for zero length sequences when constructing hash key

	* ob.el (org-babel-sha1-hash): Fix check for zero length
	sequences
Dan Davison 9 years ago
parent
commit
f2e547c657
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lisp/ob.el

+ 2 - 1
lisp/ob.el

@@ -620,7 +620,8 @@ the current subtree."
 				(lambda (arg)
 				  (let ((v (cdr arg)))
 				    (when (and v (not (and (sequencep v)
-							   (> (length v) 0))))
+							   (not (consp v))
+							   (= (length v) 0))))
 				      (if (stringp v)
 					  (mapconcat #'identity
 						     (sort (split-string v)