]> git.notmuchmail.org Git - sup/commit
Tagger#apply_to_tagged can take an arbitrary action
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Thu, 17 Jan 2008 00:47:35 +0000 (16:47 -0800)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Thu, 17 Jan 2008 00:47:35 +0000 (16:47 -0800)
commitc5b6e20d3be0391c324440be7c32a5baaffa1fd6
tree7c9ab5a1214c829e023caf215a444e3ad852aa17
parent7027f671c35f4b22c6af5ff0b1a58f79a34d41d0
Tagger#apply_to_tagged can take an arbitrary action

With this change, applying operations to tagged objects can be
short-circuited by passing the desired action directly to #apply_to_tagged,
rather than requiring it to interactive prompt the user for a command.

This class could probably use a little restructuring to divorce it from
Mode.
lib/sup/tagger.rb