]> granicus.if.org Git - mutt/commitdiff
Document tag-prefix-cond.
authorRené Clerc <rene@clerc.nl>
Fri, 19 Nov 2004 16:16:50 +0000 (16:16 +0000)
committerRené Clerc <rene@clerc.nl>
Fri, 19 Nov 2004 16:16:50 +0000 (16:16 +0000)
doc/manual.sgml.head
doc/manual.sgml.tail

index 9f58ec493d70a6d1a420543a9feba3cdd90053bf..70a3b78c59ac3aff54af96bec914631063595fc4 100644 (file)
@@ -2061,6 +2061,13 @@ manner.  If the <ref id="auto_tag" name="&dollar;auto&lowbar;tag">
 variable is set, the next operation applies to the tagged messages
 automatically, without requiring the ``tag-prefix''.
 
+In <ref id="macro" name="macros"> or <ref id="push" name="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.
+
 <sect1>Using Hooks<label id="hooks">
 <p>
 A <em/hook/ is a concept borrowed from the EMACS editor which allows you to
index 0e86a6f9f85b40e91168747eadbe4268bac4d797..3490b3f7df8bf68421103d47b459d7baad80f226 100644 (file)
@@ -43,6 +43,7 @@ select-entry             RET   select the current entry
 shell-escape               !   run a program in a subshell
 tag-entry                  t   toggle the tag on the current entry
 tag-prefix                 ;   apply next command to tagged entries
+tag-prefix-cond    not bound   apply next function ONLY to tagged messages
 top-page                   H   move to the top of the page
 </verb>
 <sect2>index