babel: Make test for identical input more stringent when hashing

* ob.el (org-babel-sha1-hash): Consider words in different
	order as different input.
This commit is contained in:
Dan Davison 2010-10-20 21:50:29 +01:00 committed by Eric Schulte
parent f2e547c657
commit 7c44c8ca7d
1 changed files with 1 additions and 5 deletions

View File

@ -622,11 +622,7 @@ the current subtree."
(when (and v (not (and (sequencep v)
(not (consp v))
(= (length v) 0))))
(if (stringp v)
(mapconcat #'identity
(sort (split-string v)
#'string<) " ")
(format "%S" v)))))
(format "%S" v))))
(nth 2 info))) ":")
(nth 1 info)))))
(when (interactive-p) (message hash))