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.
This commit is contained in:
David Edmondson 2016-04-12 09:04:04 +01:00 committed by David Bremner
parent 6cf9ac9933
commit bfd8100cff

View file

@ -250,7 +250,9 @@ mutiple parts get a header."
;; Don't omit long parts. ;; Don't omit long parts.
(notmuch-show-max-text-part-size 0) (notmuch-show-max-text-part-size 0)
;; Insert headers for parts as appropriate for replying. ;; 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) (notmuch-show-insert-body original (plist-get original :body) 0)
(buffer-substring-no-properties (point-min) (point-max))))) (buffer-substring-no-properties (point-min) (point-max)))))