Browse Source

babel: Make test for identical input more stringent when hashing

	* ob.el (org-babel-sha1-hash): Consider words in different
	order as different input.
Dan Davison 9 years ago
parent
commit
7c44c8ca7d
1 changed files with 1 additions and 5 deletions
  1. 1 5
      lisp/ob.el

+ 1 - 5
lisp/ob.el

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