@@ -1835,7 +1835,7 @@ fn make_search_word_bounded(cx: &mut Context) {
1837 let msg = format!("register '{}' set to '{}'", '/', &new_regex);
1837 let msg = format!("register '{}' set to '{}'", '/', &new_regex);
1838− cx.editor.registers.get_mut('/').push(new_regex);
1838+ cx.editor.registers.push('/', new_regex);
1839 cx.editor.set_status(msg);
1839 cx.editor.set_status(msg);