Remove most of the hooks
[apps/madmutt.git] / init.h
diff --git a/init.h b/init.h
index 7f6bcb9..feedd18 100644 (file)
--- a/init.h
+++ b/init.h
@@ -210,7 +210,7 @@ struct option_t MuttVars[] = {
    ** checking each file to see if it has already been looked at.  If it's
    ** \fIunset\fP, no check for new mail is performed while the mailbox is open.
    */
-  {"collapse_unread", DT_BOOL, OPTCOLLAPSEUNREAD, "yes" },
+  {"collapse_unread", DT_BOOL, OPTCOLLAPSEUNREAD, "no" },
   /*
    ** .pp
    ** When \fIunset\fP, Madmutt will not collapse a thread if it contains any
@@ -2023,24 +2023,9 @@ struct command_t Commands[] = {
     {"bind",                mutt_parse_bind,       0},
     {"color",               mutt_parse_color,      0},
     {"exec",                mutt_parse_exec,       0},
-    {"append-hook",         mutt_parse_hook,       M_APPENDHOOK},
-    {"close-hook",          mutt_parse_hook,       M_CLOSEHOOK},
-    {"crypt-hook",          mutt_parse_hook,       M_CRYPTHOOK},
-    {"fcc-hook",            mutt_parse_hook,       M_FCCHOOK},
-    {"fcc-save-hook",       mutt_parse_hook,       M_FCCHOOK|M_SAVEHOOK},
-    {"folder-hook",         mutt_parse_hook,       M_FOLDERHOOK},
-    {"mbox-hook",           mutt_parse_hook,       M_MBOXHOOK},
-    {"message-hook",        mutt_parse_hook,       M_MESSAGEHOOK},
-    {"open-hook",           mutt_parse_hook,       M_OPENHOOK},
-    {"pgp-hook",            mutt_parse_hook,       M_CRYPTHOOK},
-    {"reply-hook",          mutt_parse_hook,       M_REPLYHOOK},
-    {"save-hook",           mutt_parse_hook,       M_SAVEHOOK},
-    {"send2-hook",          mutt_parse_hook,       M_SEND2HOOK},
-    {"send-hook",           mutt_parse_hook,       M_SENDHOOK},
     {"macro",               mutt_parse_macro,      0},
     {"push",                mutt_parse_push,       0},
     {"uncolor",             mutt_parse_uncolor,    0},
-    {"unhook",              mutt_parse_unhook,     0},
     {"alias",               parse_alias,           0},
     {"attachments",         parse_attachments,     0 },
     {"my_hdr",              parse_my_hdr,          0},