diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-08-27 23:45:40 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-08-27 23:45:40 +0000 |
commit | a56c4be859b9138d8f7044aaf5c72bbb7ad821cc (patch) | |
tree | ed65f47425bdb620b7ce52c0684a64012805038e /mx.c | |
parent | 31beda39930d293e1331505d138ad5fae7bdbc4f (diff) |
[patch-0.94.4.vikas.collapse.2] Vikas' collapse-thread
patch.
Diffstat (limited to 'mx.c')
-rw-r--r-- | mx.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -540,6 +540,7 @@ CONTEXT *mx_open_mailbox (const char *path, int flags, CONTEXT *pctx) ctx->path = safe_strdup (path); ctx->msgnotreadyet = -1; + ctx->collapsed = 0; if (flags & M_QUIET) ctx->quiet = 1; @@ -956,7 +957,9 @@ int mx_sync_mailbox (CONTEXT *ctx) #undef this_body ctx->msgcount = j; + set_option (OPTSORTCOLLAPSE); mutt_sort_headers (ctx, 1); /* rethread from scratch */ + unset_option (OPTSORTCOLLAPSE); } return (rc); |