There is a "confirm-quit" interactive command which you can bind to C-x C-c (or whatever). This will always ask for confirmation, no matter how many buffers are open:

define_key(default_global_keymap, "C-x C-c", "confirm-quit");

Note that this command will eventually go away as it is not the right way to implement quit confirmation; but it is such a frequently requested feature that it is better than nothing for the moment.

Cheers,

- Nick

Deniz Dogan wrote:
2009/1/26 Daniel Clemente <[email protected]>:
Hi,
 you can set this:

can_kill_last_buffer=false;

 and then Conkeror refuses to close the last buffer.

 You could also replace this last buffer with about:blank (I don't know how to 
do it), but for me just can_kill_last_buffer=false is good enough.

 Greetings

Since we're already on the subject, is there anything which makes
Conkeror warn you when you're trying to shut it down, but there's more
than one buffer open?

Deniz
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to