X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-show.el;h=aafdd3d77282af3ade478c7c6d65f1951e483b0d;hb=64f81f95a19b28681a74a58b8cae205bff885755;hp=a4399abb97aa07a4ff08ca125819eb716ac054ae;hpb=3840b6b4953020b1c739f1892774cfe2ea329bed;p=notmuch diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index a4399abb..aafdd3d7 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -343,7 +343,7 @@ operation on the contents of the current buffer." (with-temp-buffer (insert all) (if indenting - (indent-rigidly (point-min) (point-max) (- depth))) + (indent-rigidly (point-min) (point-max) (- (* notmuch-show-indent-messages-width depth)))) ;; Remove the original header. (goto-char (point-min)) (re-search-forward "^$" (point-max) nil) @@ -922,7 +922,7 @@ will return nil if the CID is unknown or cannot be retrieved." (narrow-to-region part-beg part-end) (delete-region part-beg part-end) (apply #'notmuch-show-insert-bodypart-internal part-args) - (indent-rigidly part-beg part-end depth)) + (indent-rigidly part-beg part-end (* notmuch-show-indent-messages-width depth))) (goto-char part-end) (delete-char 1) (notmuch-show-record-part-information (second part-args)