From: William Morgan Date: Fri, 5 Jun 2009 14:34:31 +0000 (-0400) Subject: don't jump to the next open message when expanding X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=22029692268b29d2125b297aea6c542032bd0cb6;p=sup don't jump to the next open message when expanding When pressing enter to expand an entire message, don't jump to the next open message. Only jump when you've collapsed the message. --- diff --git a/lib/sup/modes/thread-view-mode.rb b/lib/sup/modes/thread-view-mode.rb index 1d04708..487c05b 100644 --- a/lib/sup/modes/thread-view-mode.rb +++ b/lib/sup/modes/thread-view-mode.rb @@ -261,7 +261,7 @@ EOS end if chunk.is_a?(Message) jump_to_message chunk - jump_to_next_open + jump_to_next_open if layout.state == :closed end end