From 008c28426d8973ce2ba0734488669cc2d3261e47 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Sat, 15 Jun 2024 16:45:54 +0200 Subject: [PATCH] ob-clojure-cli-command: Fix :type declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * lisp/ob-clojure.el (ob-clojure-cli-command): Allow nil value. It can happen, even though it will yield error (which is a different issue). But let's follow other defcustoms in the file. Reported-by: Mattias EngdegÄrd Link: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71566 --- lisp/ob-clojure.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-clojure.el b/lisp/ob-clojure.el index 4a54acc51..c7ebbbb95 100644 --- a/lisp/ob-clojure.el +++ b/lisp/ob-clojure.el @@ -130,7 +130,7 @@ (defcustom ob-clojure-cli-command (when-let (cmd (executable-find "clojure")) (concat cmd " -M")) "Clojure CLI command used by the Clojure `clojure-cli' backend." - :type 'string + :type '(choice string (const nil)) :group 'org-babel :package-version '(Org . "9.7"))