]> git.cworth.org Git - notmuch/commitdiff
Emacs: Indent first header line only when indentation is turned on
authorTeemu Likonen <tlikonen@iki.fi>
Sat, 15 Aug 2020 06:28:29 +0000 (09:28 +0300)
committerDavid Bremner <david@tethera.net>
Sat, 15 Aug 2020 12:16:34 +0000 (09:16 -0300)
Previously in message-show mode message's first header line (From
header) was always indented, even if user had turned thread
indentation off with "<" (notmuch-show-toggle-thread-indentation)
command.

This change modifies notmuch-show-insert-headerline function so that
it doesn't indent the first header line if notmuch-show-indent-content
variable is nil.

This change also modifies tests so that they expect this new output
format:
test/emacs-show.expected-output/notmuch-show-indent-thread-content-off


No differences found