mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
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.
This commit is contained in:
parent
32d7b3aabd
commit
d8d7387881
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue