emacs-orgmode
[Top][All Lists]
Advanced

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

[O] ob-clojure evaluate error when Org-mode buffer has ns clojure code


From: address@hidden
Subject: [O] ob-clojure evaluate error when Org-mode buffer has ns clojure code
Date: Fri, 16 Jun 2017 23:36:51 +0800

When Org-mode buffer like this:

#+BEGIN_SRC clojure
(ns my.kk
  (:require '[incanter.core :as kk]))
#+END_SRC

#+BEGIN_SRC clojure
(print "hi")
(def kkkk "hello")
#+END_SRC

#+RESULTS:

When I have `(ns ..)` namespace clojure code in buffer, the second `(print ..)` clojure result nothing. But when I remove the first src block, the `(print ..)` clojure src block works fine.

I'm using Org-mode version from `master` with `use-package` like this:

(use-package org
  :load-path "~/Code/Emacs/org-mode/lisp/"
  :pin manual
  :mode (("\\.org$" . org-mode))
  :config
  (use-package org-plus-contrib
    :load-path "~/Code/Emacs/org-mode/contrib/lisp/"
    :pin manual)
  )


[stardiviner]           <Hack this world!>      GPG key ID: 47C32433
IRC(freeenode): stardiviner                     Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/

reply via email to

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