summaryrefslogtreecommitdiff
path: root/cider-mode.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2016-01-14 09:03:15 +0200
committerBozhidar Batsov <bozhidar@batsov.com>2016-01-14 09:03:15 +0200
commitd52af8796f93edcd57b4151cad4b925dae5fbdd2 (patch)
tree5d24a0a988742cfc56edc21a9e95b707f0451f0b /cider-mode.el
parent103c336b21dba2192ac483ee0cf978a21466141e (diff)
Fix a docstring
Diffstat (limited to 'cider-mode.el')
-rw-r--r--cider-mode.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/cider-mode.el b/cider-mode.el
index 054944d5..196eb583 100644
--- a/cider-mode.el
+++ b/cider-mode.el
@@ -137,7 +137,9 @@ of the namespace in the Clojure source buffer."
(declare-function cider-load-buffer "cider-interaction")
(defun cider-load-buffer-and-switch-to-repl-buffer (&optional set-namespace)
- "Load the current buffer into the relevant REPL buffer and switch to it."
+ "Load the current buffer into the matching REPL buffer and switch to it.
+When SET-NAMESPACE is true, we'll also set the REPL's ns to match that of the
+Clojure buffer."
(interactive "P")
(cider-load-buffer)
(cider-switch-to-repl-buffer set-namespace))