diff --git a/lisp/ob.el b/lisp/ob.el index 78d005a0d..38c03c1b6 100644 --- a/lisp/ob.el +++ b/lisp/ob.el @@ -606,7 +606,7 @@ the current subtree." (let ((print-level nil) (info (or info (org-babel-get-src-block-info)))) (setf (nth 2 info) - (sort (nth 2 info) + (sort (copy-tree (nth 2 info)) (lambda (a b) (string< (car a) (car b))))) (let ((hash (sha1 (format "%s-%s"