Exiting the pager before change-folder avoids 'Not available in this
menu' error when selecting a different entry in some circumstances.
[ci skip]
macro generic,pager <F1> "<shell-escape> less @docdir@/manual.txt<Enter>" "show NeoMutt documentation"
# show the incoming mailboxes list (just like "neomutt -y") and back when pressing "y"
-macro index,pager y "<change-folder>?" "show incoming mailboxes list"
+macro index y "<change-folder>?" "show incoming mailboxes list"
+macro pager y "<exit><change-folder>?" "show incoming mailboxes list"
bind browser y exit
# Handler for gzip compressed mailboxes