We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cba6718 commit ba4d981Copy full SHA for ba4d981
swift-mode-imenu.el
@@ -330,9 +330,13 @@ and \"c\".
330
next-token
331
parameter-end
332
(parameter-names '())
333
- (is-operator (seq-contains
334
- "/=-+!*%<>&|^~?."
335
- (elt (swift-mode:token:text name-token) 0))))
+ (seq-contains-p (if (fboundp 'seq-contains-p)
+ 'seq-contains-p
+ 'seq-contains))
336
+ (is-operator
337
+ (funcall seq-contains-p
338
+ "/=-+!*%<>&|^~?."
339
+ (elt (swift-mode:token:text name-token) 0))))
340
(cond
341
((eq (swift-mode:token:type name-token) 'identifier)
342
(while (progn
0 commit comments