Exiting the pager before change-folder avoids 'Not available in this
menu' error when selecting a different entry in some circumstances.
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