mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
tweak(mu4e): Columns misalignment in headers view
https://www.djcbsoftware.nl/code/mu/mu4e/Known-issues.html#Headers_002dbuffer-can-get-mis_002daligned
This commit is contained in:
parent
ead254e152
commit
2a36abefaa
1 changed files with 8 additions and 0 deletions
|
|
@ -277,6 +277,14 @@ is non-nil."
|
|||
(< (frame-width) +mu4e-min-header-frame-width))
|
||||
(set-frame-width frame +mu4e-min-header-frame-width)))))
|
||||
|
||||
;; Fix columns misalignment in Headers buffers
|
||||
(add-hook! 'mu4e-headers-mode-hook
|
||||
(defun +mu4e-headers-alignment ()
|
||||
"Header line face inherits from the default face"
|
||||
(header-line-indent-mode 1)
|
||||
(push (propertize " " 'display '(space :align-to header-line-indent-width)) header-line-format)
|
||||
(face-remap-add-relative 'header-line '(:inherit (mu4e-header-face default)))))
|
||||
|
||||
(when (fboundp 'imagemagick-register-types)
|
||||
(imagemagick-register-types))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue