From 59178f2d7190a8aebeeccd73832bb31f57e4b08f Mon Sep 17 00:00:00 2001 From: TEC Date: Thu, 29 Jul 2021 17:58:54 +0800 Subject: [PATCH] Mu4e: Relocate min-frames-width statement --- modules/email/mu4e/config.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/email/mu4e/config.el b/modules/email/mu4e/config.el index 72f08f3df..ff1375ae9 100644 --- a/modules/email/mu4e/config.el +++ b/modules/email/mu4e/config.el @@ -100,6 +100,9 @@ all-the-icons-yellow) "Faces to use when coloring folders and account stripes.") + (defvar +mu4e-min-header-frame-width 120 + "Minimum reasonable with for the header view.") + ;; Add a column to display what email account the email belongs to, ;; and an account color stripe column (defvar +mu4e-header--maildir-colors nil) @@ -160,8 +163,6 @@ ;; actually show you all the information you want to see ;; so if the header view is entered from a narrow frame, ;; it's probably worth trying to expand it - (defvar +mu4e-min-header-frame-width 120 - "Minimum reasonable with for the header view.") (defun mu4e-widen-frame-maybe () "Expand the frame with if it's less than `+mu4e-min-header-frame-width'." (when (< (frame-width) +mu4e-min-header-frame-width)