From bfd8100cff5025ee9a409a4ef561cd6dd8ae8973 Mon Sep 17 00:00:00 2001 From: David Edmondson Date: Tue, 12 Apr 2016 09:04:04 +0100 Subject: [PATCH] emacs: Don't indent multipart sub-parts during reply. When generating cited messages for replay, override any existing setting for `notmuch-show-indent-multipart' to ensure that no indentation occurs. --- emacs/notmuch-mua.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index 3e5f8872..04459750 100644 --- a/emacs/notmuch-mua.el +++ b/emacs/notmuch-mua.el @@ -250,7 +250,9 @@ mutiple parts get a header." ;; Don't omit long parts. (notmuch-show-max-text-part-size 0) ;; Insert headers for parts as appropriate for replying. - (notmuch-show-insert-header-p-function notmuch-mua-reply-insert-header-p-function)) + (notmuch-show-insert-header-p-function notmuch-mua-reply-insert-header-p-function) + ;; Don't indent multipart sub-parts. + (notmuch-show-indent-multipart nil)) (notmuch-show-insert-body original (plist-get original :body) 0) (buffer-substring-no-properties (point-min) (point-max)))))