summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien <bzg@gnu.org>2020-02-17 00:12:48 +0100
committerBastien <bzg@gnu.org>2020-02-17 00:12:48 +0100
commit1d8d83d8757794f11ccf890ee8224796f660cfc8 (patch)
treef95bfcb7ee0d20e0a9a5be093b7ff24e925c9124
parent409bd498d14ce3139423c80ab0f365195e128322 (diff)
downloadorg-mode-1d8d83d8757794f11ccf890ee8224796f660cfc8.tar.gz
etc/ORG-NEWS: Add more details on ob-clojure.el enhancements
-rw-r--r--etc/ORG-NEWS11
1 files changed, 8 insertions, 3 deletions
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index 362f0f4..2b52d78 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -113,13 +113,18 @@ minutes.
*** =ob-clojure.el= supports inf-clojure.el and ClojureScript evaluation
-You can now use ~(setq org-babel-clojure-backend 'inf-clojure)~ and
-evaluate Clojure source blocks using [[https://github.com/clojure-emacs/inf-clojure][inf-clojure]].
+You can now set ~(setq org-babel-clojure-backend 'inf-clojure)~ and
+evaluate Clojure source blocks using [[https://github.com/clojure-emacs/inf-clojure][inf-clojure]]. With a header
+argument like =:alias "alias"= the Clojure REPL will boot with
+=clojure -Aalias=. Otherwise Clojure will boot with =lein=, =boot= or
+=tools.deps=, depending on whether the current directory contains a
+=project.clj=, =build.boot= or =deps.edn=, falling back on
+~inf-clojure-generic-cmd~ in case no such file is present.
Also, when using [[https://github.com/clojure-emacs/cider][cider]], you can now use =#+begin_src clojurescript= to
execute ClojureScript code from Org files. Note that this works only
your Org file is associated with a cider session that knows how to run
-ClojureScript code---a bare =lein repl= session outside of a directory
+ClojureScript code. A bare =lein repl= session outside of a directory
configured for ClojureScript will /not/ work.
*** =ob-java.el=: you can now pass Java command line arguments