summaryrefslogtreecommitdiff
path: root/mh/mh.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2016-12-12 11:02:26 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2016-12-12 13:10:32 +0200
commitd8896b0e5fbd5628b54b7704ab6cb64560caa3b5 (patch)
tree2022fe586a2826c67e057739d47a64dc8489ac40 /mh/mh.h
parent0f705faa6c5079c03319a49f37912f7f49bce6e1 (diff)
downloadmailutils-d8896b0e5fbd5628b54b7704ab6cb64560caa3b5.tar.gz
mailutils-d8896b0e5fbd5628b54b7704ab6cb64560caa3b5.tar.bz2
Fix -nowhatnow proc in mh
* mh/mh.h (mh_whatnow_env) <nowhatnowproc>: New member. * mh/compcommon.c (check_draft_disposition): Return DISP_REPLACE if nowhatnowproc is set. * mh/mh_whatnow.c (mh_whatnowproc): Return 0 if nowhatnowproc is set. * mh/comp.c: Fix -nowhatnowproc * mh/forw.c: Likewise. * mh/repl.c: Likewise.
Diffstat (limited to 'mh/mh.h')
-rw-r--r--mh/mh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mh/mh.h b/mh/mh.h
index 7d3ea0bd9..578a065cd 100644
--- a/mh/mh.h
+++ b/mh/mh.h
@@ -215,6 +215,7 @@ struct mh_whatnow_env /* whatnow shell environment */
char *anno_field; /* Annotate field to be used */
mu_list_t anno_list; /* List of messages (mu_message_t) to annotate */
mu_mailbox_t mbox;
+ int nowhatnowproc;
};
#define DISP_QUIT 0

Return to:

Send suggestions and report system problems to the System administrator.