Sfoglia il codice sorgente

babel: removed needless param sorting from ob-execute-src-block

* lisp/ob.el (org-babel-execute-src-block): removed needless param
  sorting from ob-execute-src-block, the params are sorted already by
  ob-sha1-hash
Eric Schulte 14 anni fa
parent
commit
3fd8d906e4
1 ha cambiato i file con 0 aggiunte e 7 eliminazioni
  1. 0 7
      lisp/ob.el

+ 0 - 7
lisp/ob.el

@@ -357,13 +357,6 @@ block."
 		       (nth 2 info)))
 	     (cache? (and (cdr (assoc :cache params))
 			  (string= "yes" (cdr (assoc :cache params)))))
-	     (params (setf (nth 2 info)
-			   (if cache?
-			       (sort params
-				     (lambda (el1 el2)
-				       (string< (symbol-name (car el1))
-						(symbol-name (car el2)))))
-			     params)))
 	     (result-params (cdr (assoc :result-params params)))
 	     (new-hash (when cache? (org-babel-sha1-hash info)))
 	     (old-hash (when cache? (org-babel-result-hash info)))