]> git.notmuchmail.org Git - sup/commit
improved handling of killing buffers. buffers now check with the mode
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sun, 10 Dec 2006 19:11:40 +0000 (19:11 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sun, 10 Dec 2006 19:11:40 +0000 (19:11 +0000)
commit15a2c54fc7e7c46ecef2103f303a02f7df6be13a
tree9b6cac29d253baaa0d385e7695a819438a6c0703
parentc4d08f0a6cdbb30c1e375a0d3aa69771dd2809ab
improved handling of killing buffers. buffers now check with the mode
(via #killable?) before killing. inbox-mode always returns false.

also improved ask_yes_or_no. three outputs: yes, no, and nil (cancel).

git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@68 5c8cc53c-5e98-4d25-b20a-d8db53a31250
bin/sup
lib/sup/buffer.rb
lib/sup/mode.rb
lib/sup/modes/edit-message-mode.rb
lib/sup/modes/inbox-mode.rb
lib/sup/modes/resume-mode.rb