浏览代码

Backport commit a6a821d29 from Emacs

* lisp/ob-lisp.el (org-babel-lisp-eval-fn): Tweak type.

Avoids type mismatch when relevant library is not present/loaded.

a6a821d29bda3e45fb26289e6119359ea3b91ebb
Glenn Morris
Thu Mar 22 14:37:45 2018 -0400
Glenn Morris 7 年之前
父节点
当前提交
b45c1ff4d4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ob-lisp.el

+ 1 - 1
lisp/ob-lisp.el

@@ -54,7 +54,7 @@ Valid values include `slime-eval' and `sly-eval'."
   :group 'org-babel
   :version "26.1"
   :package-version '(Org . "9.0")
-  :type 'function)
+  :type 'symbol)
 
 (defcustom org-babel-lisp-dir-fmt
   "(let ((*default-pathname-defaults* #P%S\n)) %%s\n)"