aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.dir-locals.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 022f822..3b34dbc 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -7,10 +7,9 @@
(cider-default-cljs-repl . custom)
(cider-custom-cljs-repl-init-form . "(do (require '[shadow.cljs.devtools.api :as shadow])\n(require '[shadow.cljs.devtools.server :as server])\n(server/start!)\n(shadow/watch :tubo)\n(shadow/nrepl-select :tubo))")
(cider-merge-sessions . :project)
- (eval . (if
- (not
- (boundp 'cider-jack-in-nrepl-middlewares))
- (require 'cider)
+ (eval . (progn
+ (unless (boundp 'cider-jack-in-nrepl-middlewares)
+ (require 'cider))
(make-variable-buffer-local 'cider-jack-in-nrepl-middlewares)
(add-to-list 'cider-jack-in-nrepl-middlewares "cider.nrepl/cider-middleware")
(add-to-list 'cider-jack-in-nrepl-middlewares "shadow.cljs.devtools.server.nrepl/middleware"))))))