[Mutt] #2969: new function: lock-tag-prefix
#2969: new function: lock-tag-prefix
I wanted a way to have a macro that:
- when applied with tag-prefix, applies several commands to all tagged
messages
- when applied without tag-prefix, applies the same commands to the
current message
So I added two functions to mutt: lock-tag-prefix and unlock-tag-prefix.
The idea is that the said macro starts with <lock-tag-prefix> and ends
with <unlock-tag-prefix>.
lock-tag-prefix lock the tag-prefix to "on", but only if it is in effect.
unlock-tag-prefix unlocks it.
Please let me know if you apply this patch and require me to write the
documentation, I'll try to write something sensible.
--
Ticket URL: <http://dev.mutt.org/trac/ticket/2969>