From f6caf18f19505796cfee4aca6d06f482e69a53e1 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Thu, 29 Apr 2021 14:19:24 +0200 Subject: [PATCH] =?UTF-8?q?Actually=20respect=20user=E2=80=99s=20choice=20?= =?UTF-8?q?of=20percentages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eshell-info-banner.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eshell-info-banner.el b/eshell-info-banner.el index c56a481..a1d2acb 100644 --- a/eshell-info-banner.el +++ b/eshell-info-banner.el @@ -182,9 +182,9 @@ shortened name of the partitions with a long name." (string-to-number percentage) percentage))) (cond - ((> percentage eshell-info-banner--percentage-critical) + ((>= percentage eshell-info-banner--percentage-critical) 'eshell-info-banner-critical-face) - ((> percentage eshell-info-banner--percentage-warning) + ((>= percentage eshell-info-banner--percentage-warning) 'eshell-info-banner-warning-face) (t 'eshell-info-banner-normal-face))))