summaryrefslogtreecommitdiff
path: root/cider-util.el
diff options
context:
space:
mode:
Diffstat (limited to 'cider-util.el')
-rw-r--r--cider-util.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-util.el b/cider-util.el
index 0bdc9a32..8a889e4d 100644
--- a/cider-util.el
+++ b/cider-util.el
@@ -115,7 +115,7 @@ Ignores the REPL prompt. If LOOK-BACK is non-nil, move backwards trying to
find a symbol if there isn't one at point."
(or (when-let ((str (thing-at-point 'symbol)))
(unless (text-property-any 0 (length str) 'field 'cider-repl-prompt str)
- str))
+ (substring-no-properties str)))
(when look-back
(save-excursion
(ignore-errors