legacy-dotfiles/.conkerorrc/settings.js

19 lines
643 B
JavaScript
Raw Normal View History

2012-02-09 09:15:33 +01:00
// -*- eval: (git-auto-commit-mode 1) -*-
2012-02-10 17:08:30 +01:00
cwd = make_file("/home/slash/downloads/");
2012-02-10 17:38:04 +01:00
url_remoting_fn = load_url_in_new_buffer;
2012-02-10 17:08:30 +01:00
read_buffer_show_icons = true;
2012-03-11 22:17:57 +01:00
hints_minibuffer_annotation_mode(true);
2011-12-28 15:43:09 +01:00
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);