浏览代码

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.
Nicolas Goaziou 12 年之前
父节点
当前提交
4dead66693
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      lisp/ob-exp.el

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