summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Davison <davison@stats.ox.ac.uk>2010-10-20 21:50:29 +0100
committerEric Schulte <schulte.eric@gmail.com>2010-10-21 07:02:50 -0600
commit7c44c8ca7d22707e3d6f9aff035fe1d344713609 (patch)
treeb9ee175a6189183ed374932b26be8e0162b4692b
parentf2e547c657d3de87408a887a34ca38c3657f2b9f (diff)
downloadorg-mode-7c44c8ca7d22707e3d6f9aff035fe1d344713609.tar.gz
babel: Make test for identical input more stringent when hashing
* ob.el (org-babel-sha1-hash): Consider words in different order as different input.
-rw-r--r--lisp/ob.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/ob.el b/lisp/ob.el
index a655642..3c3b2b7 100644
--- a/lisp/ob.el
+++ b/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))