mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-27 20:22:00 +00:00
ob-clojure: treat vectors as elisp lists
* lisp/ob-clojure.el (org-babel-execute:clojure): Convert vectors to lists before reading into emacs-lisp.
This commit is contained in:
parent
4a0e5cf88f
commit
93bcee0f98
@ -78,7 +78,8 @@
|
||||
(require 'slime) (require 'swank-clojure)
|
||||
(with-temp-buffer
|
||||
(insert (org-babel-expand-body:clojure body params))
|
||||
((lambda (result) (condition-case nil (read result) (error result)))
|
||||
((lambda (result) (condition-case nil (read (org-babel-script-escape result))
|
||||
(error result)))
|
||||
(slime-eval
|
||||
`(swank:interactive-eval-region
|
||||
,(buffer-substring-no-properties (point-min) (point-max)))
|
||||
|
Loading…
Reference in New Issue
Block a user