aboutsummaryrefslogtreecommitdiff
path: root/emacs/notmuch-show.el
diff options
context:
space:
mode:
authorDavid Edmondson <dme@dme.org>2012-01-30 16:52:20 +0000
committerDavid Bremner <bremner@debian.org>2012-02-03 21:28:45 -0400
commitd8d73878815f3038c1a4005e43d35e6b7acf722f (patch)
tree62d7b9da7eeaee7e2469aea68c351d19395d1525 /emacs/notmuch-show.el
parent32d7b3aabd4cdba0fcf80e95a701bb64d3bf4980 (diff)
emacs: Move the blank line from the bottom of the headers to the top of the body.
The blank line doesn't really change position, but is now considered to be part of the body rather than part of the headers. This means that it is visible when the body is visible rather than when the headers are visible.
Diffstat (limited to 'emacs/notmuch-show.el')
-rw-r--r--emacs/notmuch-show.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index 26cd221..7469e2e 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -865,8 +865,6 @@ current buffer, if possible."
;; compatible with the existing implementation. This just sets it
;; to after the first header.
(notmuch-show-insert-headers headers)
- ;; Headers should include a blank line (backwards compatibility).
- (insert "\n")
(save-excursion
(goto-char content-start)
;; If the subject of this message is the same as that of the
@@ -881,6 +879,8 @@ current buffer, if possible."
(setq notmuch-show-previous-subject bare-subject)
(setq body-start (point-marker))
+ ;; A blank line between the headers and the body.
+ (insert "\n")
(notmuch-show-insert-body msg (plist-get msg :body) depth)
;; Ensure that the body ends with a newline.
(unless (bolp)