summaryrefslogtreecommitdiff
path: root/cider-interaction.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2014-12-23 01:11:40 +0200
committerBozhidar Batsov <bozhidar@batsov.com>2014-12-23 01:11:40 +0200
commitc1d9f816905393f415898aa3ad3943742fd24e53 (patch)
tree70955a9ad0297b4bc122c70f57b8a7751e875346 /cider-interaction.el
parent8110c9916103ace217ea5088127d1ed54e5821ea (diff)
Quick and dirty fix
Diffstat (limited to 'cider-interaction.el')
-rw-r--r--cider-interaction.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-interaction.el b/cider-interaction.el
index f62dfc9a..b28c453d 100644
--- a/cider-interaction.el
+++ b/cider-interaction.el
@@ -1236,7 +1236,7 @@ otherwise fall back to \"user\"."
nrepl-buffer-ns
(or (clojure-find-ns)
nrepl-buffer-ns
- cider-docview-ns
+ (and (boundp 'cider-docview-ns) cider-docview-ns)
(-when-let (repl-buf (cider-current-repl-buffer))
(buffer-local-value 'nrepl-buffer-ns (get-buffer repl-buf)))
"user")))