On 25.01.16 13:26, Marco Dickert wrote:
> If I try to add this keybinding by adding this line to my .muttrc:
> 
>    bind pager ";"      tag-prefix
> 
> this error message shows up when starting mutt:
> 
>   "Error in ~/.muttrc, line 58: tag-prefix: function unknown"
> 

In a macro, such as the one above, it seems that tag-prefix-cond needs
to be used instead. From the manual:

»
In macros or push commands, you can use the <tag-prefix-cond> operator.
If there are no tagged messages, Mutt will “eat” the rest of the macro
to abort it's execution. Mutt will stop “eating” the macro when it
encounters the <end-cond> operator; after this operator the rest of the
macro will be executed as normal.
«

Does that work?

Erik

Reply via email to