Folder-hooks are executed in the order declared. However, push/exec
commands will simply prepend to the keyboard buffer. If there are
multiple push/exec commands, each will prepend to the earlier one. The
result is that they will end up being "run" in reverse order once keyboard
buffer processing starts.
</para>
</note>
+<note>
+<para>
+The keyboard buffer will not be processed until after all hooks
+are run; multiple <link linkend="push">push</link> or <link
+linkend="exec">exec</link> commands will end up being processed in
+reverse order.
+</para>
+</note>
+
<para>
The following example will set the <link linkend="sort">sort</link>
variable to <literal>date-sent</literal> for all folders but to
</cmdsynopsis>
<para>
-This command adds the named string to the keyboard buffer. The string
+This command adds the named string to the beginning of the keyboard buffer. The string
may contain control characters, key names and function names like the
sequence string in the <link linkend="macro">macro</link> command. You
may use it to automatically run a sequence of commands at startup, or