== END PATCH
--- a/init.c
+++ b/init.c
-@@ -635,6 +635,65 @@
- return (rv);
+@@ -601,6 +601,65 @@
+ }
}
+static int parse_ifdef (BUFFER *tmp, BUFFER *s, unsigned long data, BUFFER *err)
do
--- a/init.h
+++ b/init.h
-@@ -3351,6 +3351,7 @@
+@@ -3439,6 +3439,7 @@
static int parse_unlists (BUFFER *, BUFFER *, unsigned long, BUFFER *);
static int parse_alias (BUFFER *, BUFFER *, unsigned long, BUFFER *);
static int parse_unalias (BUFFER *, BUFFER *, unsigned long, BUFFER *);
static int parse_ignore (BUFFER *, BUFFER *, unsigned long, BUFFER *);
static int parse_unignore (BUFFER *, BUFFER *, unsigned long, BUFFER *);
static int parse_source (BUFFER *, BUFFER *, unsigned long, BUFFER *);
-@@ -3401,6 +3402,7 @@
- { "group", parse_group, 0 },
- { "ungroup", parse_ungroup, 0 },
+@@ -3489,6 +3490,7 @@
+ { "group", parse_group, M_GROUP },
+ { "ungroup", parse_group, M_UNGROUP },
{ "hdr_order", parse_list, UL &HeaderOrderList },
+ { "ifdef", parse_ifdef, 0 },
#ifdef HAVE_ICONV
- { "iconv-hook", mutt_parse_hook, M_ICONVHOOK },
+ { "iconv-hook", mutt_parse_hook, M_ICONVHOOK },
#endif
--- a/doc/manual.xml.head
+++ b/doc/manual.xml.head
-@@ -3816,6 +3816,28 @@
+@@ -4373,6 +4373,28 @@
</sect1>
+<sect1 id="ifdef">
+
-+<title>Configuring features conditionnaly</title>
++<title>Configuring features conditionally</title>
+
+<para>
+Usage: <literal>ifdef</literal> <emphasis>item</emphasis> <emphasis>command</emphasis>
+</sect1>
+
<sect1 id="unhook">
- <title>Removing hooks</title>
+ <title>Removing Hooks</title>
---- /dev/null
-+++ b/PATCHES
-@@ -0,0 +1 @@
-+patch-1.5.13.cd.ifdef.2