diff options
| author | Luc Teirlinck | 2005-05-26 20:43:39 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2005-05-26 20:43:39 +0000 |
| commit | 3a02b63eb53a4f0508a6a0d5470635ad6ce6c606 (patch) | |
| tree | 07509cd83c857e287f04ef594fb721c7fc5e1c6f | |
| parent | 04e9c13cc2b6f0bd21722e2a82c63313ed818638 (diff) | |
| download | emacs-3a02b63eb53a4f0508a6a0d5470635ad6ce6c606.tar.gz emacs-3a02b63eb53a4f0508a6a0d5470635ad6ce6c606.zip | |
(display-time-string-forms, display-time-update):
Use mode-line-highlight as mouse-face.
| -rw-r--r-- | lisp/time.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/time.el b/lisp/time.el index ddf0d932733..180d7c44cf3 100644 --- a/lisp/time.el +++ b/lisp/time.el | |||
| @@ -200,6 +200,7 @@ depend on `display-time-day-and-date' and `display-time-24hr-format'." | |||
| 200 | (list :background bg))))) | 200 | (list :background bg))))) |
| 201 | 'face display-time-mail-face | 201 | 'face display-time-mail-face |
| 202 | 'help-echo "You have new mail; mouse-2: Read mail" | 202 | 'help-echo "You have new mail; mouse-2: Read mail" |
| 203 | 'mouse-face 'mode-line-highlight | ||
| 203 | 'local-map (make-mode-line-mouse-map 'mouse-2 | 204 | 'local-map (make-mode-line-mouse-map 'mouse-2 |
| 204 | read-mail-command))) | 205 | read-mail-command))) |
| 205 | "")) | 206 | "")) |
| @@ -293,6 +294,7 @@ update which can wait for the next redisplay." | |||
| 293 | (concat (substring str 0 -2) "." (substring str -2)) | 294 | (concat (substring str 0 -2) "." (substring str -2)) |
| 294 | 'local-map (make-mode-line-mouse-map | 295 | 'local-map (make-mode-line-mouse-map |
| 295 | 'mouse-2 'display-time-next-load-average) | 296 | 'mouse-2 'display-time-next-load-average) |
| 297 | 'mouse-face 'mode-line-highlight | ||
| 296 | 'help-echo (concat | 298 | 'help-echo (concat |
| 297 | "System load average for past " | 299 | "System load average for past " |
| 298 | (if (= 0 display-time-load-average) | 300 | (if (= 0 display-time-load-average) |