summaryrefslogtreecommitdiff
path: root/nrepl-client.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2015-11-26 00:30:11 +0200
committerBozhidar Batsov <bozhidar@batsov.com>2015-11-26 00:30:11 +0200
commita7de86dac23166c9219ca688de80973ccddd46e9 (patch)
treea392667a791cf24bc8fb496a887807b2c944342e /nrepl-client.el
parentabb69bbf74ca511217e05b1e76b98230b96637b8 (diff)
[Fix #1434] Correct pcase syntax
Diffstat (limited to 'nrepl-client.el')
-rw-r--r--nrepl-client.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/nrepl-client.el b/nrepl-client.el
index 2d2bd462..e5fcb2e1 100644
--- a/nrepl-client.el
+++ b/nrepl-client.el
@@ -1177,8 +1177,8 @@ operations.")
(defun nrepl-decorate-msg (msg type)
"Decorate nREPL MSG according to its TYPE."
(pcase type
- ('request (cons '---> (cdr msg)))
- ('response (cons '<- (cdr msg)))))
+ (`request (cons '---> (cdr msg)))
+ (`response (cons '<- (cdr msg)))))
(defun nrepl-log-message (msg type)
"Log the given MSG to the buffer given by `nrepl-message-buffer-name'.