From 4dead666939071072ba65c69874d9d6ba8448d9f Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 22 Oct 2012 19:23:05 +0200 Subject: [PATCH] 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. --- lisp/ob-exp.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/ob-exp.el b/lisp/ob-exp.el index b8669f0b9..8d11e45ff 100644 --- a/lisp/ob-exp.el +++ b/lisp/ob-exp.el @@ -359,9 +359,7 @@ replaced with its value." (org-fill-template org-babel-exp-code-template `(("lang" . ,(nth 0 info)) - ("body" . ,(if (string= (nth 0 info) "org") - (replace-regexp-in-string "^" "," (nth 1 info)) - (nth 1 info))) + ("body" . ,(nth 1 info)) ,@(mapcar (lambda (pair) (cons (substring (symbol-name (car pair)) 1) (format "%S" (cdr pair))))