emacs-for-clojure
emacs-for-clojure copied to clipboard
Error with Cider-Jack-In (clojure-project-dir)
I've been trying to get this running for days:
error: Symbol's function definition is void: clojure-project-dir
Running M-x cider-version gives "CIDER 0.15.1 (London)"
Running M-x clojure-mode-version gives "clojure-mode (version 3.1.0-snapshot)
Running java -version in terminal gives "java version "9.0.1""
Running lein -v in terminal gives "2.8.1 on Java 9.0.1 Java Hotspot(TM) 64-Bit Server VM"
Running emacs -version in terminal gives "GNU Emacs 25.2.1"
profiles.clj: "{:user {:plugins []}}"
"(add-to-list 'package-archives '("melpa-stable" . "http://stable.melpa.org/packages/") t)
(add-to-list 'package-pinned-packages '(cider . "melpa-stable") t)" added after line 12.
Not sure what else to do here.
I believe this may be an issue with an old version of clojure-mode
; I had a similar problem on Windows and running package-reinstall clojure-mode
fixed it.
I was able to solve by upgrading sesman.
M-x package-refresh-contents
M-x package-reinstall sesman
restart emacs, open the core.clj file and run the jack-in command again.