notmuch.el: Make archive-thread more efficient for already archived messages.
authorCarl Worth <cworth@cworth.org>
Wed, 4 Nov 2009 17:26:50 +0000 (09:26 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 4 Nov 2009 17:26:50 +0000 (09:26 -0800)
commit33fae33d82baa31f9b6b5dd774ffda76d4d7fcbc
tree4575d13c69b5b9f55a8aa2b68004d58a5555a8c2
parent278ae86f64a58bd9265441d858916f6f0a22ed18
notmuch.el: Make archive-thread more efficient for already archived messages.

The approach here is to move the optimization from mark-read to the
more general remove-tag. Namely, don't call out to a "notmuch tag"
command to remove a tag that's not there already.
notmuch.el