Closed jcs090218 closed 3 years ago
Use seq-contains-p instead seq-contains after Emacs version 27.1?
seq-contains-p
seq-contains
27.1
We should use seq-contains-p only if it is defined. For Emacs 25 and later, (require 'seq) loads the bundled version of seq, which doesn't have seq-contains-p until 27.1.
(require 'seq)
seq
Fixed by https://github.com/swift-emacs/swift-mode/commit/ba4d981035e40430e5d889955294e3a5d3c512fb. Thank you.
Use
seq-contains-p
insteadseq-contains
after Emacs version27.1
?