diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2016-05-18 16:10:37 -0300 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2016-05-18 16:11:41 -0300 |
commit | 6d768dbbbc7155ef907b7e3bade5796432e58a6d (patch) | |
tree | ab395a4bbeb05b2f81b5818e3ac6f08e97a367d6 /cider-eldoc.el | |
parent | 0f78557a3e24e35b7f63e291b01b29ab165b9745 (diff) |
Replace a member with memq
Diffstat (limited to 'cider-eldoc.el')
-rw-r--r-- | cider-eldoc.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cider-eldoc.el b/cider-eldoc.el index ea00288d..953bf5ec 100644 --- a/cider-eldoc.el +++ b/cider-eldoc.el @@ -264,7 +264,8 @@ Then go back to the point and return its eldoc." (let* ((beginning-of-sexp (cider-eldoc-beginning-of-sexp)) ;; If we are at the beginning of function name, this will be -1 (argument-index (max 0 (1- beginning-of-sexp)))) - (unless (or (member (or (char-before (point)) 0) '(?\" ?\{ ?\[)) + (unless (or (memq (or (char-before (point)) 0) + '(?\" ?\{ ?\[)) (cider-in-comment-p)) (when-let (eldoc-info (cider-eldoc-info (cider--eldoc-remove-dot (cider-symbol-at-point)))) |