X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/220d91b834f7f7252b9953460422151b86b3520c..db7ab02fe1ddf4ba6a5d523c4462afdb3fd11dc5:/lisp/org/ob-mscgen.el diff --git a/lisp/org/ob-mscgen.el b/lisp/org/ob-mscgen.el index a78e0b6bd6..dc800a875c 100644 --- a/lisp/org/ob-mscgen.el +++ b/lisp/org/ob-mscgen.el @@ -1,11 +1,11 @@ ;;; ob-msc.el --- org-babel functions for mscgen evaluation -;; Copyright (C) 2010 Free Software Foundation, Inc. +;; Copyright (C) 2010-2011 Free Software Foundation, Inc. ;; Author: Juan Pechiar ;; Keywords: literate programming, reproducible research ;; Homepage: http://orgmode.org -;; Version: 7.01 +;; Version: 7.7 ;; This file is part of GNU Emacs. @@ -62,9 +62,6 @@ '((:results . "file") (:exports . "results")) "Default arguments to use when evaluating a mscgen source block.") -(defun org-babel-expand-body:mscgen (body params &optional processed-params) - "Expand BODY according to PARAMS, return the expanded body." body) - (defun org-babel-execute:mscgen (body params) "Execute a block of Mscgen code with Babel. This function is called by `org-babel-execute-src-block'. @@ -76,7 +73,7 @@ mscgen supported formats." (error " ERROR: no output file specified. Add \":file name.png\" to the src header")) (org-babel-eval (concat "mscgen -T " filetype " -o " out-file) body) - out-file)) + nil)) ;; signal that output has already been written to file (defun org-babel-prep-session:mscgen (session params) "Raise an error because Mscgen doesn't support sessions." @@ -84,6 +81,6 @@ ERROR: no output file specified. Add \":file name.png\" to the src header")) (provide 'ob-mscgen) -;; arch-tag: 74695b1e-715f-4b5a-a3a9-d78ee39ba5c8 + ;;; ob-msc.el ends here