From f2e547c657d3de87408a887a34ca38c3657f2b9f Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Wed, 20 Oct 2010 21:45:04 +0100 Subject: [PATCH] babel: Fix check for zero length sequences when constructing hash key * ob.el (org-babel-sha1-hash): Fix check for zero length sequences --- lisp/ob.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ob.el b/lisp/ob.el index ec192da58..a655642de 100644 --- a/lisp/ob.el +++ b/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)