From 1298d1db189bf434e54a792d3a6746237881f251 Mon Sep 17 00:00:00 2001 From: Protesilaos Stavrou Date: Sat, 18 Feb 2023 09:36:18 +0200 Subject: [PATCH] Rename 'display-time-time-and-date-indicator' to 'display-time-date-and-time' (bug#61567) * etc/NEWS: * lisp/time.el (display-time-time-and-date-indicator) (display-time-date-and-time, display-time-string-forms): Update symbol. --- etc/NEWS | 2 +- lisp/time.el | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index db42041ec6d..bcce416ebc1 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -57,7 +57,7 @@ This allows the user to customize the prompt that is appended by "(yes or no) ". --- -** New face 'display-time-time-and-date-indicator'. +** New face 'display-time-date-and-time'. This is used for displaying the time and date components of 'display-time-mode'. diff --git a/lisp/time.el b/lisp/time.el index 030aef9d49b..522bec46ac6 100644 --- a/lisp/time.el +++ b/lisp/time.el @@ -139,7 +139,7 @@ make the mail indicator stand out on a color display." :version "22.1" :type '(choice (const :tag "None" nil) face)) -(defface display-time-time-and-date-indicator nil +(defface display-time-date-and-time nil "Face for `display-time-format'." :group 'mode-line-faces :version "30.1") @@ -184,7 +184,7 @@ depend on `display-time-day-and-date' and `display-time-24hr-format'." (format-time-string (or display-time-format (if display-time-24hr-format "%H:%M" "%-I:%M%p")) now) - 'face 'display-time-time-and-date-indicator + 'face 'display-time-date-and-time 'help-echo (format-time-string "%a %b %e, %Y" now)) load (if mail -- 2.39.2