summaryrefslogtreecommitdiff
path: root/nrepl-client.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2016-01-20 17:19:01 +0200
committerBozhidar Batsov <bozhidar@batsov.com>2016-01-20 17:19:01 +0200
commit3059be27511ca07f70f9fa96418984b40b0d50bb (patch)
tree15f8ae71b16a90d40d87c924d70d703530848e65 /nrepl-client.el
parent1e6827528d8618d0df5df3a2585dd6e378dfbe63 (diff)
Fix a docstring
Diffstat (limited to 'nrepl-client.el')
-rw-r--r--nrepl-client.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/nrepl-client.el b/nrepl-client.el
index 4439cfa4..1e974df8 100644
--- a/nrepl-client.el
+++ b/nrepl-client.el
@@ -1192,9 +1192,12 @@ operations.")
(`response (cons '<- (cdr msg)))))
(defun nrepl-log-message (msg type)
- "Log the given MSG to the buffer given by `nrepl-message-buffer-name-template'.
+ "Log the nREPL MSG.
-TYPE is either request or response."
+TYPE is either request or response.
+
+The message is logged to a buffer described by
+`nrepl-message-buffer-name-template'."
(when nrepl-log-messages
(with-current-buffer (nrepl-messages-buffer msg)
(setq buffer-read-only nil)