Skip to content

Commit 5091d87

Browse files
committed
RBGuileBridge.swift(guile_handle_key): Use exception handler for keybindings.
1 parent d636b00 commit 5091d87

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Spotiqueue/Classes/RBGuileBridge.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,9 @@ public func track_to_scm_record(track: RBSpotifyItem) -> SCM {
200200
return false
201201
}
202202

203-
scm_call_0(scm_eval(action, scm_current_module()))
203+
// We are handling exceptions in user-bound keys.
204+
scm_call_1(scm_variable_ref(scm_c_lookup("spot:with-exn-handler")),
205+
scm_eval(action, scm_current_module()))
204206
return true
205207
}
206208

0 commit comments

Comments
 (0)