Forráskód Böngészése

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 14 éve
szülő
commit
f2e547c657
1 módosított fájl, 2 hozzáadás és 1 törlés
  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)