Hi all,
The "confirm-quit" command, which was intended as a temporary workaround
for people to be able to have quit confirmation until we got coroutine hooks,
has now been removed from the program. To enable quit confirmation via the
new coroutine hook, put the following in your rc:
add_hook("before_quit_hook",
function () {
var w = get_recent_conkeror_window();
var result = (w == null) ||
"y" == (yield w.minibuffer.read_single_character_option(
$prompt = "Quit Conkeror? (y/n)",
$options = ["y", "n"]));
yield co_return(result);
});
--
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror