]> granicus.if.org Git - neomutt/commitdiff
pager specific "show incoming mailboxes list" macro
authorChristian Ebert <blacktrash@gmx.net>
Fri, 30 Mar 2018 12:37:54 +0000 (13:37 +0100)
committerRichard Russon <rich@flatcap.org>
Thu, 12 Apr 2018 08:32:31 +0000 (09:32 +0100)
Exiting the pager before change-folder avoids 'Not available in this
menu' error when selecting a different entry in some circumstances.

[ci skip]

doc/neomuttrc.head

index e38cce172a66233f553f42baf16f1e6556ebc053..33a710997d6924564022112c5ff34183e2166849 100644 (file)
@@ -26,7 +26,8 @@ macro index,pager,attach,compose \cb "\
 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