File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1354,9 +1354,9 @@ Return the token skipped."
1354
1354
(progn
1355
1355
(backward-list )
1356
1356
(swift-mode:token
1357
- (cdr ( assoc previous-type '((} . {})
1358
- (\) . \(\) )
1359
- (\] . \[\] ) )))
1357
+ (assoc-default previous-type '((} . {})
1358
+ (\) . \(\) )
1359
+ (\] . \[\] )))
1360
1360
(buffer-substring-no-properties (point ) previous-end)
1361
1361
(point )
1362
1362
previous-end))
@@ -1394,9 +1394,9 @@ Return the token skipped."
1394
1394
(progn
1395
1395
(forward-list )
1396
1396
(swift-mode:token
1397
- (cdr ( assoc next-type '(({ . {})
1398
- (\( . \(\) )
1399
- (\[ . \[\] ) )))
1397
+ (assoc-default next-type '(({ . {})
1398
+ (\( . \(\) )
1399
+ (\[ . \[\] )))
1400
1400
(buffer-substring-no-properties next-start (point ))
1401
1401
next-start
1402
1402
(point )))
You can’t perform that action at this time.
0 commit comments