Skip to content

Commit abc32b0

Browse files
committed
Replace seq-contains with member
The damn seq-contains breaks the CI build, as it produces a complication warning. Now I remembered why I replaced it in the first place. :D
1 parent 12faa9a commit abc32b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nrepl-client.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,7 @@ FOREGROUND and BUTTON are as in `nrepl-log-pp-object'."
12791279
(name-lengths (seq-map (lambda (pair) (length (car pair))) sorted-pairs))
12801280
(longest-name (seq-max name-lengths))
12811281
;; Special entries are displayed first
1282-
(specialq (lambda (pair) (seq-contains '("id" "op" "session" "time-stamp") (car pair))))
1282+
(specialq (lambda (pair) (member (car pair) '("id" "op" "session" "time-stamp"))))
12831283
(special-pairs (seq-filter specialq sorted-pairs))
12841284
(not-special-pairs (seq-remove specialq sorted-pairs))
12851285
(all-pairs (seq-concatenate 'list special-pairs not-special-pairs))

0 commit comments

Comments
 (0)