forked from mirrors/org-mode
ob-exp: Remove comma-escaping special rule for Org blocks
* lisp/ob-exp.el (org-babel-exp-code): Remove comma-escaping special rule for Org blocks.
This commit is contained in:
parent
468d860528
commit
4dead66693
|
@ -359,9 +359,7 @@ replaced with its value."
|
||||||
(org-fill-template
|
(org-fill-template
|
||||||
org-babel-exp-code-template
|
org-babel-exp-code-template
|
||||||
`(("lang" . ,(nth 0 info))
|
`(("lang" . ,(nth 0 info))
|
||||||
("body" . ,(if (string= (nth 0 info) "org")
|
("body" . ,(nth 1 info))
|
||||||
(replace-regexp-in-string "^" "," (nth 1 info))
|
|
||||||
(nth 1 info)))
|
|
||||||
,@(mapcar (lambda (pair)
|
,@(mapcar (lambda (pair)
|
||||||
(cons (substring (symbol-name (car pair)) 1)
|
(cons (substring (symbol-name (car pair)) 1)
|
||||||
(format "%S" (cdr pair))))
|
(format "%S" (cdr pair))))
|
||||||
|
|
Loading…
Reference in New Issue