diff options
author | Eric Schulte <schulte.eric@gmail.com> | 2011-10-07 09:09:44 -0600 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2011-10-07 09:09:49 -0600 |
commit | 623dd10c962b10f34f2e66e896fd0e90cb63e2b8 (patch) | |
tree | 9243cdbcd169f9add8882f18795ffbd0b6dcfbdb | |
parent | fec067a4057aa78510544e665c45b6a89a4b6fe2 (diff) | |
download | org-mode-623dd10c962b10f34f2e66e896fd0e90cb63e2b8.tar.gz |
ob-shen: fix build error
* lisp/ob-shen.el (shen-eval-defun): Declare external function.
(org-babel-execute:shen): Move requirement of inf-shen into the
function in which it is used to fix build error.
-rw-r--r-- | lisp/ob-shen.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ob-shen.el b/lisp/ob-shen.el index 123e39e..3917deb 100644 --- a/lisp/ob-shen.el +++ b/lisp/ob-shen.el @@ -34,7 +34,8 @@ ;;; Code: (require 'ob) -(require 'inf-shen) + +(declare-function shen-eval-defun "ext:inf-shen" (&optional and-go)) (defvar org-babel-default-header-args:shen '() "Default header arguments for shen code blocks.") @@ -60,6 +61,7 @@ (defun org-babel-execute:shen (body params) "Execute a block of Shen code with org-babel. This function is called by `org-babel-execute-src-block'" + (require 'inf-shen) (let* ((result-type (cdr (assoc :result-type params))) (full-body (org-babel-expand-body:shen body params))) ((lambda (results) |