Commit 570b5854 authored by Gary Johnson's avatar Gary Johnson

Here is the patch to fix the bug I reported earlier in this thread,

that sometimes when changing folders, mutt would generate an error
message and stop the further processing of folder-hooks.
parent a2052e05
......@@ -1048,6 +1048,12 @@ CHECK_IMAP_ACL(IMAP_ACL_DELETE);
mutt_sleep (0);
/* Set CurrentMenu to MENU_MAIN before executing any folder
* hooks so that all the index menu functions are available to
* the exec command.
CurrentMenu = MENU_MAIN;
mutt_folder_hook (buf);
if ((Context = mx_open_mailbox (buf,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment