Abort macro if limit pattern does not match anything
Kevin J. McCarthy
kevin at 8t8.us
Tue Nov 29 21:10:17 UTC 2022
On Tue, Nov 29, 2022 at 08:25:02PM +0100, Max Görner wrote:
>Is there a way to abort the macro if the pattern does not match
>anything? It is quite annoying to tidy up after the macro every now and
>then.
Hi Max,
Have you tried using <tag-prefix-cond> instead of ";" in your macro?
See <http://www.mutt.org/doc/manual/#tags> for more details.
--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20221129/3fa799b5/attachment.asc>
More information about the Mutt-users
mailing list