legacy-dotfiles/.conkerorrc/settings.js

18 lines
663 B
JavaScript
Raw Normal View History

2012-02-09 09:15:33 +01:00
// -*- eval: (git-auto-commit-mode 1) -*-
2011-12-28 15:43:09 +01:00
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);
});
2012-02-09 09:15:33 +01:00
remove_hook("download_added_hook", open_download_buffer_automatically);