Rocco Rutte:
authorpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Sun, 21 Aug 2005 15:30:07 +0000 (15:30 +0000)
committerpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Sun, 21 Aug 2005 15:30:07 +0000 (15:30 +0000)
- fix typo in makedoc for config output
- move implementation for $force_buffy_check to menus so that it only acts if <buffy-list> is invoked from menus but _not_ internally (fixes lots of IMAP noise for feature request #546)

git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@414 e385b8ad-14ed-0310-8656-cc95a2468c6d

browser.c
buffy.c
curs_main.c
makedoc.c
pager.c

index acb4039..75bb211 100644 (file)
--- a/browser.c
+++ b/browser.c
@@ -1311,6 +1311,8 @@ void _mutt_select_file (char *f, size_t flen, int flags, char ***files,
       break;
 
     case OP_BUFFY_LIST:
+      if (option (OPTFORCEBUFFYCHECK))
+        buffy_check (1);
       buffy_list ();
       break;
 
diff --git a/buffy.c b/buffy.c
index e259a11..59852c8 100644 (file)
--- a/buffy.c
+++ b/buffy.c
@@ -506,9 +506,6 @@ int buffy_list (void)
   int have_unnotified = BuffyNotify;
   int i = 0;
 
-  if (option (OPTFORCEBUFFYCHECK))
-    buffy_check (1);
-
   pos = 0;
   first = 1;
   buffylist[0] = 0;
index 54ac430..4811ba4 100644 (file)
@@ -2291,6 +2291,8 @@ int mutt_index_menu (void)
       break;
 
     case OP_BUFFY_LIST:
+      if (option (OPTFORCEBUFFYCHECK))
+        buffy_check (1);
       buffy_list ();
       menu->redraw = REDRAW_FULL;
       break;
index 54f3549..279168b 100644 (file)
--- a/makedoc.c
+++ b/makedoc.c
@@ -707,7 +707,7 @@ static void print_confline (const char *varname, int type, const char *val)
           || type == DT_PATH) {
         add_s ("\n# set ");
         add_s (varname);
-        add_s ("\"");
+        add_s ("=\"");
         conf_print_strval (val);
         add_s ("\"");
       }
diff --git a/pager.c b/pager.c
index 50c4cd6..57a5509 100644 (file)
--- a/pager.c
+++ b/pager.c
@@ -2530,6 +2530,8 @@ mutt_pager (const char *banner, const char *fname, int flags, pager_t * extra)
       break;
 
     case OP_BUFFY_LIST:
+      if (option (OPTFORCEBUFFYCHECK))
+        buffy_check (1);
       buffy_list ();
       redraw |= REDRAW_SIDEBAR;
       break;