]> git.cworth.org Git - sup/commitdiff
minor cleanups
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Thu, 11 Jan 2007 19:07:36 +0000 (19:07 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Thu, 11 Jan 2007 19:07:36 +0000 (19:07 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@241 5c8cc53c-5e98-4d25-b20a-d8db53a31250

bin/sup-import
lib/sup/modes/thread-index-mode.rb

index 703f125a2cef5b61dc6bf640be61b0ce0119792d..d5fec8a201337e63784702c6997ece8cb78f9cd6 100644 (file)
@@ -5,7 +5,6 @@ require 'rubygems'
 require 'highline/import'
 require "sup"
 
-
 Thread.abort_on_exception = true # make debugging possible
 
 class Float
index 47fc4ccdd21dc660accd46f73a99bfdafc6fe620..7b549949dc652166ef8229658c197b5bf8bffdfb 100644 (file)
@@ -163,7 +163,6 @@ class ThreadIndexMode < LineCursorMode
   end
 
   def jump_to_next_new
-    t = @threads[curpos] or return
     n = ((curpos + 1) ... lines).find { |i| @threads[i].has_label? :unread }
     n = (0 ... curpos).find { |i| @threads[i].has_label? :unread } unless n
     if n