Commit e93b2f39 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(display-time-string-forms): Add help-echo with date on time.

parent e3748ba2
......@@ -173,9 +173,11 @@ depend on `display-time-day-and-date' and `display-time-24hr-format'."
'((if (and (not display-time-format) display-time-day-and-date)
(format-time-string "%a %b %e " now)
"")
(format-time-string (or display-time-format
(if display-time-24hr-format "%H:%M" "%-I:%M%p"))
now)
(propertize
(format-time-string (or display-time-format
(if display-time-24hr-format "%H:%M" "%-I:%M%p"))
now)
'help-echo (format-time-string "%s %b %e, %Y" now))
load
(if mail
;; Build the string every time to act on customization.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment