summaryrefslogtreecommitdiff
path: root/cider-eldoc.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2016-04-03 09:21:01 +0300
committerBozhidar Batsov <bozhidar@batsov.com>2016-04-03 09:21:01 +0300
commit8110bb1638fc886d803398932e056329411b7f41 (patch)
treeeb5fcd4befae45b90ab340200a0476d76bf5de76 /cider-eldoc.el
parentd320e87ea0a1019fc2c1dffe4a134f95714bfbb6 (diff)
Remove a redundant invocation of substring-no-properties
Diffstat (limited to 'cider-eldoc.el')
-rw-r--r--cider-eldoc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-eldoc.el b/cider-eldoc.el
index 5a074c39..12b43483 100644
--- a/cider-eldoc.el
+++ b/cider-eldoc.el
@@ -150,7 +150,7 @@ if the maximum number of sexps to skip is exceeded."
;; check if we can used the cached eldoc info
(if (equal thing (car cider-eldoc-last-symbol))
(cdr cider-eldoc-last-symbol)
- (when-let ((eldoc-info (cider-sync-request:eldoc (substring-no-properties thing))))
+ (when-let ((eldoc-info (cider-sync-request:eldoc thing)))
(let ((arglist (nrepl-dict-get eldoc-info "eldoc")))
(setq cider-eldoc-last-symbol (cons thing arglist))
arglist)))))