mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
fix(mu4e): column misalignment in headers view
Ref: https://www.djcbsoftware.nl/code/mu/mu4e/Known-issues.html#Headers_002dbuffer-can-get-mis_002daligned
This commit is contained in:
parent
67fcff28b4
commit
27c68c4697
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-fix-alignment-h ()
|
||||
"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