From 47537dcda8709793bdea5f2e43f3dd8d4c4f86b9 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Thu, 13 Jan 2011 10:00:39 -0700 Subject: [PATCH] ob: allow detangling of text containing '\'s -- Thanks to Seth Burleigh * lisp/ob.el (org-babel-update-block-body): Literal argument to `replace-match' to allow insertion of text containing '\'. --- lisp/ob.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob.el b/lisp/ob.el index d6326c768..f6c7a0f89 100644 --- a/lisp/ob.el +++ b/lisp/ob.el @@ -1594,7 +1594,7 @@ file's directory then expand relative links." (if (not (org-babel-where-is-src-block-head)) (error "not in source block") (save-match-data - (replace-match (concat (org-babel-trim new-body) "\n") nil nil nil 5)) + (replace-match (concat (org-babel-trim new-body) "\n") nil t nil 5)) (indent-rigidly (match-beginning 5) (match-end 5) 2))) (defun org-babel-merge-params (&rest plists)