mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
contrib: pick: Do not indent messages in the message pane
Currently pick just uses notmuch-show to display messages in the message pane: this means that they get indented just as show would. However, since pick is only displaying one message at a time there is no need to indent so override the indentation.
This commit is contained in:
parent
732f50a20a
commit
480f44fbe4
1 changed files with 4 additions and 2 deletions
|
@ -337,8 +337,10 @@ Does NOT change the database."
|
||||||
(setq notmuch-pick-message-window
|
(setq notmuch-pick-message-window
|
||||||
(split-window-vertically (/ (window-height) 4)))
|
(split-window-vertically (/ (window-height) 4)))
|
||||||
(with-selected-window notmuch-pick-message-window
|
(with-selected-window notmuch-pick-message-window
|
||||||
(setq current-prefix-arg '(4))
|
;; Since we are only displaying one message do not indent.
|
||||||
(setq buffer (notmuch-show id nil nil nil)))
|
(let ((notmuch-show-indent-messages-width 0))
|
||||||
|
(setq current-prefix-arg '(4))
|
||||||
|
(setq buffer (notmuch-show id nil nil nil))))
|
||||||
(notmuch-pick-tag-update-display (list "-unread"))
|
(notmuch-pick-tag-update-display (list "-unread"))
|
||||||
(setq notmuch-pick-message-buffer buffer))))
|
(setq notmuch-pick-message-buffer buffer))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue