Bläddra i källkod

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 '\'.
Eric Schulte 14 år sedan
förälder
incheckning
47537dcda8
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      lisp/ob.el

+ 1 - 1
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)