diff options
author | Bozhidar Batsov <bozhidar@batsov.com> | 2016-04-03 09:15:08 +0300 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@batsov.com> | 2016-04-03 09:15:08 +0300 |
commit | d320e87ea0a1019fc2c1dffe4a134f95714bfbb6 (patch) | |
tree | cefe12e4be72716abca202cc181376ea8b7c7458 /cider-util.el | |
parent | 70d173d596636bdb9a7b57d817889872e76245c0 (diff) |
Strip text properties in cider-symbol-at-point
Diffstat (limited to 'cider-util.el')
-rw-r--r-- | cider-util.el | 2 |
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 |