浏览代码

ob-C: fix missing function org-babel-expand-body:cpp

Ernesto Durante 10 年之前
父节点
当前提交
ccf52269aa
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      lisp/ob-C.el

+ 5 - 0
lisp/ob-C.el

@@ -82,6 +82,11 @@ is currently being evaluated.")
 This function calls `org-babel-execute:C++'."
   (org-babel-execute:C++ body params))
 
+(defun org-babel-expand-body:cpp (body params)
+  "Expand a block of C++ code with org-babel according to it's
+header arguments."
+  (org-babel-expand-body:C++ body params))
+
 (defun org-babel-execute:C++ (body params)
   "Execute a block of C++ code with org-babel.
 This function is called by `org-babel-execute-src-block'."