@@ -2478,12 +2478,12 @@ pub fn command_palette(cx: &mut Context) {
2479fn last_picker(cx: &mut Context) {
2479fn last_picker(cx: &mut Context) {
2480 // TODO: last picker does not seem to work well with buffer_picker
2480 // TODO: last picker does not seem to work well with buffer_picker
2481− cx.callback = Some(Box::new(|compositor: &mut Compositor, _| {
2481+ cx.callback = Some(Box::new(|compositor, cx| {
2482 if let Some(picker) = compositor.last_picker.take() {
2482 if let Some(picker) = compositor.last_picker.take() {
2483 compositor.push(picker);
2483 compositor.push(picker);
2485+ cx.editor.set_error("no last picker")
2485− // XXX: figure out how to show error when no last picker lifetime
2486− // cx.editor.set_error("no last picker")