17 lines
636 B
JavaScript
17 lines
636 B
JavaScript
// -*- eval: (git-auto-commit-mode 1) -*-
|
|
cwd = make_file("/home/slash/downloads/");
|
|
//url_remoting_fn = load_url_in_new_buffer;
|
|
read_buffer_show_icons = true;
|
|
hints_display_url_panel = true;
|
|
|
|
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);
|
|
});
|
|
|
|
remove_hook("download_added_hook", open_download_buffer_automatically);
|