[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: time in mode-line
From: |
Eli Zaretskii |
Subject: |
Re: time in mode-line |
Date: |
Sat, 22 Jul 2023 08:16:34 +0300 |
> From: Colin Baxter <m43cap@yandex.com>
> Date: Fri, 21 Jul 2023 20:02:31 +0100
>
>
> After today's pull of emacs, I find the time clock display in the
> mode-line has changed. Is this intentional?
>
> 1. emacs -q <RET>
> 2. In scratch evaluate (setq display-time-day-and-date t) and
> (display-time)
> 3. C-x 2 <RET>
>
> In the inactive buffer, the clock has a background of the same color as
> the active buffer mode-line. It look pretty ugly to me.
Does the patch below fix that?
diff --git a/lisp/time.el b/lisp/time.el
index 3b87859..3f10def 100644
--- a/lisp/time.el
+++ b/lisp/time.el
@@ -140,7 +140,7 @@ display-time-mail-face
:type '(choice (const :tag "None" nil) face))
(defface display-time-date-and-time
- '((t (:inherit mode-line)))
+ '((t nil))
"Face for `display-time-format'."
:group 'mode-line-faces
:version "30.1")