Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
f2e547c657
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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)