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 '\'.
This commit is contained in:
parent
0ec831d2c8
commit
47537dcda8
|
@ -1594,7 +1594,7 @@ file's directory then expand relative links."
|
||||||
(if (not (org-babel-where-is-src-block-head))
|
(if (not (org-babel-where-is-src-block-head))
|
||||||
(error "not in source block")
|
(error "not in source block")
|
||||||
(save-match-data
|
(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)))
|
(indent-rigidly (match-beginning 5) (match-end 5) 2)))
|
||||||
|
|
||||||
(defun org-babel-merge-params (&rest plists)
|
(defun org-babel-merge-params (&rest plists)
|
||||||
|
|
Loading…
Reference in New Issue