summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edmondson <dme@dme.org>2016-04-12 09:04:04 +0100
committerDavid Bremner <david@tethera.net>2016-04-16 09:40:14 -0300
commitbfd8100cff5025ee9a409a4ef561cd6dd8ae8973 (patch)
tree6678e3a39731824f10e7d44d7e09845e8d8922f0
parent6cf9ac9933d5a8b43654051180539c414857a362 (diff)
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.
-rw-r--r--emacs/notmuch-mua.el4
1 files changed, 3 insertions, 1 deletions
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)))))