Ver Fonte

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

Ernesto Durante há 10 anos atrás
pai
commit
ccf52269aa
1 ficheiros alterados com 5 adições e 0 exclusões
  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'."