update of packages
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
;;; ob-clojure.el --- Babel Functions for Clojure -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2022 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2023 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Joel Boehland, Eric Schulte, Oleh Krehel, Frederick Giasson
|
||||
;; Maintainer: Daniel Kraus <daniel@kraus.my>
|
||||
@@ -101,13 +101,13 @@
|
||||
|
||||
(defcustom ob-clojure-babashka-command (executable-find "bb")
|
||||
"Path to the babashka executable."
|
||||
:type 'file
|
||||
:type '(choice file (const nil))
|
||||
:group 'org-babel
|
||||
:package-version '(Org . "9.6"))
|
||||
|
||||
(defcustom ob-clojure-nbb-command (executable-find "nbb")
|
||||
"Path to the nbb executable."
|
||||
:type 'file
|
||||
:type '(choice file (const nil))
|
||||
:group 'org-babel
|
||||
:package-version '(Org . "9.6"))
|
||||
|
||||
@@ -248,8 +248,8 @@ or set the `:backend' header argument"))))
|
||||
"value")))
|
||||
result0)))
|
||||
(ob-clojure-string-or-list
|
||||
;; Filter out s-expressions that return `nil' (string "nil"
|
||||
;; from nrepl eval) or comment forms (actual `nil' from nrepl)
|
||||
;; Filter out s-expressions that return nil (string "nil"
|
||||
;; from nrepl eval) or comment forms (actual nil from nrepl)
|
||||
(reverse (delete "" (mapcar (lambda (r)
|
||||
(replace-regexp-in-string "nil" "" (or r "")))
|
||||
result0)))))))
|
||||
|
||||
Reference in New Issue
Block a user