$NetBSD: patch-ao,v 1.1 2014/01/12 17:43:37 wiz Exp $

Add change_folder_next option.

--- curs_main.c.orig	2013-12-06 11:36:47.000000000 +0000
+++ curs_main.c
@@ -1336,6 +1336,11 @@ int mutt_index_menu (void)
 #endif
 	else
 	{
+	  if (option (OPTCHANGEFOLDERNEXT) && Context && Context->path)
+	  {
+	    strfcpy (buf, Context->path, sizeof (buf));
+	    mutt_pretty_mailbox (buf, sizeof (buf));
+	  }
 	  mutt_buffy (buf, sizeof (buf));
           if ( op == OP_SIDEBAR_OPEN )
 	  {
