diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2016-03-23 14:26:24 -0300 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2016-03-23 14:26:24 -0300 |
commit | 987668055a0e6392ff68d167f4392d88210cdb1c (patch) | |
tree | ebd905e7198977985df025b11e8d17764d7d927b /cider-eldoc.el | |
parent | 09e253f497baf0354175d57fcc635c32e1330e2e (diff) |
Don't use `string=`, cider-eldoc-last-symbol could be nil
Diffstat (limited to 'cider-eldoc.el')
-rw-r--r-- | cider-eldoc.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-eldoc.el b/cider-eldoc.el index 0ba0141a..5a074c39 100644 --- a/cider-eldoc.el +++ b/cider-eldoc.el @@ -148,7 +148,7 @@ if the maximum number of sexps to skip is exceeded." (not (string= thing "")) (not (string-prefix-p ":" thing))) ;; check if we can used the cached eldoc info - (if (string= thing (car cider-eldoc-last-symbol)) + (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)))) (let ((arglist (nrepl-dict-get eldoc-info "eldoc"))) |