Clean up code duplication in adding or removing tag by region.
authorJesse Rosenthal <jrosenthal@jhu.edu>
Tue, 13 Apr 2010 18:47:19 +0000 (14:47 -0400)
committerCarl Worth <cworth@cworth.org>
Wed, 14 Apr 2010 17:10:55 +0000 (10:10 -0700)
commitdb96d67ba2e2ae01bc3139a3a22cc5433880cbae
treeb124fa2961bc0282190fcdf9c7798d1c494ba189
parent2fbb6d05a931b23c307aee3af05ab488c6bca425
Clean up code duplication in adding or removing tag by region.

Clean up code duplication, as per Carl's suggestion, by making
notmuch-search-{add/remove}-tag-thread a special case of the -region
commands, where the region in question is between (point) and (point).
emacs/notmuch.el