swift-emacs / swift-mode

Emacs support for Apple's Swift programming language.
GNU General Public License v3.0
363 stars 47 forks source link

Address byte compile warnings. #168

Closed jcs090218 closed 3 years ago

jcs090218 commented 3 years ago

Use seq-contains-p instead seq-contains after Emacs version 27.1?

taku0 commented 3 years ago

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.

taku0 commented 3 years ago

Fixed by https://github.com/swift-emacs/swift-mode/commit/ba4d981035e40430e5d889955294e3a5d3c512fb. Thank you.