X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/17a0e20c69f875f98afb440c6f20c1ab5406d4c9..5a2d8285f6bef8f940767a5f17780e998de2a19e:/debian/patches/features/ifdef
diff --git a/debian/patches/features/ifdef b/debian/patches/features/ifdef
index 1463d4b..771d8b0 100644
--- a/debian/patches/features/ifdef
+++ b/debian/patches/features/ifdef
@@ -28,8 +28,8 @@ ifdef trash set trash=~/Mail/trash
== 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)
@@ -96,7 +96,7 @@ ifdef trash set trash=~/Mail/trash
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 *);
@@ -104,23 +104,23 @@ ifdef trash set trash=~/Mail/trash
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 @@
+
+
-+Configuring features conditionnaly
++Configuring features conditionally
+
+
+Usage: ifdef item command
@@ -141,9 +141,5 @@ ifdef trash set trash=~/Mail/trash
+
+
- Removing hooks
+ Removing Hooks
---- /dev/null
-+++ b/PATCHES
-@@ -0,0 +1 @@
-+patch-1.5.13.cd.ifdef.2