Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 986 Bytes

Setting-up-Emacs-to-run-Clojure-Code.org

File metadata and controls

25 lines (18 loc) · 986 Bytes

Setting up Emacs to Run Clojure Code

Some of the documentation for conexp-clj is written in Org Mode, a markup language for Emacs. In particular, Org-Mode provides a feature called Source Blocks that allow to embed executable code snippets into a document. Some files of the documentation of conexp-clj make use of this feature.

Before one can this embedded code, the following steps are necessary to be able to run Clojure code in Emacs Org-Mode source blocks:

  • Install cider from package.el, directly from https://github.com/clojure-emacs/cider, or by any other means.
  • Run the following code when default-directory is within the conexp-clj source repository.
    (require 'ob-clojure)
    (require 'cider)
    (cider-jack-in-clj nil)