aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-reply.c
diff options
context:
space:
mode:
authorGravatar Mark Walters <markwalters1009@gmail.com>2012-07-24 19:23:27 +0100
committerGravatar David Bremner <bremner@debian.org>2012-07-24 15:29:22 -0300
commit0e63372efe28f2fff0791b293240695b19bfefd2 (patch)
tree3fc236352568968dd10ceea953f54a83a2734caa /notmuch-reply.c
parent10ab2b57039d7ef06c82749530ff48675e81d16d (diff)
cli: add --body=true|false option to notmuch-show.c
This option allows the caller to suppress the output of the bodies of the messages. Currently this is only implemented for format=json. This is used by notmuch-pick.el (although not needed) because it gives a speed-up of at least a factor of a two (and in some cases a speed up of more than a factor of 8); moreover it reduces the memory usage in emacs hugely.
Diffstat (limited to 'notmuch-reply.c')
-rw-r--r--notmuch-reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-reply.c b/notmuch-reply.c
index 3a038ed7..de21f3b2 100644
--- a/notmuch-reply.c
+++ b/notmuch-reply.c
@@ -620,7 +620,7 @@ notmuch_reply_format_json(void *ctx,
/* Start the original */
printf (", \"original\": ");
- format_part_json (ctx, node, TRUE);
+ format_part_json (ctx, node, TRUE, TRUE);
/* End */
printf ("}\n");