From f63001875704981566b036aebc38ddf996ff0494 Mon Sep 17 00:00:00 2001 From: Vitalie Spinu Date: Tue, 23 Sep 2014 03:06:32 -0700 Subject: [PATCH] Set `nrepl-buffer-ns` in non clojure buffers --- nrepl-client.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nrepl-client.el b/nrepl-client.el index d9a777b76..6c4c415c4 100644 --- a/nrepl-client.el +++ b/nrepl-client.el @@ -712,6 +712,9 @@ server responses." (nrepl-dbind-response response (value ns out err status id ex root-ex session) (cond (value + (with-current-buffer buffer + (when (and ns (not (derived-mode-p 'clojure-mode))) + (setq nrepl-buffer-ns ns))) (when value-handler (funcall value-handler buffer value))) (out