]> git.cworth.org Git - sup/commit
don't require log-mode to auto-respawn
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Wed, 9 Sep 2009 14:05:11 +0000 (10:05 -0400)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Wed, 9 Sep 2009 14:05:11 +0000 (10:05 -0400)
commitb119447d2198667e25bad72566581f1f70021417
treec2203b52f951ac00599b7de5e8ac60711833a132
parent8039b8594c5246338406b284ab9b2c4974b77937
don't require log-mode to auto-respawn

Don't require log-mode (and more importantly, subclasses thereof) to respawn.
If a buffer name is provided during initialization, respawning will be on;
otherwise, it will be off. Now e.g. console mode can use log-mode without
requiring a buffer name, or incurring potentially weird auto-respawn behavior.
lib/sup/modes/log-mode.rb