X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/44c01adf506b1087bff724dcb65b92a12b012836..bc03f37c91e5464c1632fb37ab3c98edaac11d91:/debian/patches/features/ifdef?ds=sidebyside diff --git a/debian/patches/features/ifdef b/debian/patches/features/ifdef index 1463d4b..28913b5 100644 --- a/debian/patches/features/ifdef +++ b/debian/patches/features/ifdef @@ -28,7 +28,7 @@ ifdef trash set trash=~/Mail/trash == END PATCH --- a/init.c +++ b/init.c -@@ -635,6 +635,65 @@ +@@ -635,6 +635,65 @@ static int remove_from_rx_list (RX_LIST return (rv); } @@ -96,7 +96,7 @@ ifdef trash set trash=~/Mail/trash do --- a/init.h +++ b/init.h -@@ -3351,6 +3351,7 @@ +@@ -3413,6 +3413,7 @@ static int parse_lists (BUFFER *, BUFFER 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 @@ +@@ -3463,6 +3464,7 @@ struct command_t Commands[] = { { "group", parse_group, 0 }, { "ungroup", parse_ungroup, 0 }, { "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 @@ +@@ -4087,6 +4087,28 @@ considered to be an executable program f + + -+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