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:
parent
f2e547c657
commit
7c44c8ca7d
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue