sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 99c80eea8fa4fe122f680031178be8059a1fee85
parent e47f9dabca0349a1fff046232961b38d900d4445
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Sat,  2 Feb 2008 20:14:46 -0800

don't automatically save with dispatch-and-kill

Diffstat:
M lib/sup/modes/thread-view-mode.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/sup/modes/thread-view-mode.rb b/lib/sup/modes/thread-view-mode.rb
@@ -419,11 +419,11 @@ EOS
     case op
     when :next
       @index_mode.launch_next_thread_after(@thread) do
-        @thread.save Index if block_given? && yield
+        yield if block_given?
         BufferManager.kill_buffer_safely buffer
       end
     when :kill
-      @thread.save Index if yield
+      yield if block_given?
       BufferManager.kill_buffer_safely buffer
     else
       raise ArgumentError, "unknown thread dispatch operation #{op.inspect}"