Exiting the pager before change-folder avoids 'Not available in this menu' error when selecting a different entry in some circumstances. --- doc/Muttrc.head | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/Muttrc.head b/doc/Muttrc.head index 78916d95..2b0020f7 100644 --- a/doc/Muttrc.head +++ b/doc/Muttrc.head @@ -26,7 +26,8 @@ macro index,pager,attach,compose \cb "\ macro generic,pager <F1> "<shell-escape> less @docdir@/manual.txt<Enter>" "show Mutt documentation" # show the incoming mailboxes list (just like "mutt -y") and back when pressing "y" -macro index,pager y "<change-folder>?<toggle-mailboxes>" "show incoming mailboxes list" +macro index y "<change-folder>?<toggle-mailboxes>" "show incoming mailboxes list" +macro pager y "<exit><change-folder>?<toggle-mailboxes>" "show incoming mailboxes list" bind browser y exit # Handler for gzip compressed mailboxes -- 2.17.0.rc0.1.g47ada6a37d