emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals-release/org 008c28426d 3/3: ob-clojure-cli-command: Fix


From: ELPA Syncer
Subject: [elpa] externals-release/org 008c28426d 3/3: ob-clojure-cli-command: Fix :type declaration
Date: Sat, 15 Jun 2024 12:58:32 -0400 (EDT)

branch: externals-release/org
commit 008c28426d8973ce2ba0734488669cc2d3261e47
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    ob-clojure-cli-command: Fix :type declaration
    
    * 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 <mattias.engdegard@gmail.com>
    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 4a54acc51b..c7ebbbb95e 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"))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]