From 537c0c7219fa072fb7d62acf3c30ac844f7e8ac7 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Thu, 11 Nov 2010 22:36:34 -0600 Subject: [PATCH] Fix ob-lisp.el expectation that slime would be available --- lisp/org/ChangeLog | 4 ++++ lisp/org/ob-lisp.el | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog index 90bf8e56a9b..e1440fabd8b 100644 --- a/lisp/org/ChangeLog +++ b/lisp/org/ChangeLog @@ -1,3 +1,7 @@ +2010-11-12 Carsten Dominik + + * ob-lisp.el (slime): Don't expect slime to be present. + 2010-11-11 Dan Davison * ob.el: `copy-sequence' suffices to copy alist; no need for diff --git a/lisp/org/ob-lisp.el b/lisp/org/ob-lisp.el index f550a54e1e3..ebe2f2f758f 100644 --- a/lisp/org/ob-lisp.el +++ b/lisp/org/ob-lisp.el @@ -41,7 +41,10 @@ (require 'ob-ref) (require 'ob-comint) (require 'ob-eval) -(require 'slime) +(declare-function slime-eval "ext:slime" (form)) +(declare-function slime-connected-p "ext:slime" ()) +(declare-function slime-process "ext:slime" ()) +(require 'slime nil 'noerror) (defvar org-babel-default-header-args:lisp '() "Default header arguments for lisp code blocks.") -- 2.39.5