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

* ob.el (org-babel-sha1-hash): Fix check for zero length
	sequences
This commit is contained in:
Dan Davison 2010-10-20 21:45:04 +01:00 committed by Eric Schulte
parent 65217b7fb4
commit f2e547c657
1 changed files with 2 additions and 1 deletions

View File

@ -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)