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:
parent
65217b7fb4
commit
f2e547c657
|
@ -620,7 +620,8 @@ the current subtree."
|
||||||
(lambda (arg)
|
(lambda (arg)
|
||||||
(let ((v (cdr arg)))
|
(let ((v (cdr arg)))
|
||||||
(when (and v (not (and (sequencep v)
|
(when (and v (not (and (sequencep v)
|
||||||
(> (length v) 0))))
|
(not (consp v))
|
||||||
|
(= (length v) 0))))
|
||||||
(if (stringp v)
|
(if (stringp v)
|
||||||
(mapconcat #'identity
|
(mapconcat #'identity
|
||||||
(sort (split-string v)
|
(sort (split-string v)
|
||||||
|
|
Loading…
Reference in New Issue