forked from mirrors/org-mode
New face for clock in mode line.
This commit is contained in:
parent
a2f787a643
commit
855f85b46f
|
@ -1,3 +1,10 @@
|
||||||
|
2009-06-06 Carsten Dominik <carsten.dominik@gmail.com>
|
||||||
|
|
||||||
|
* org-clock.el (org-clock-update-mode-line): Apply face
|
||||||
|
org-mode-line-clock.
|
||||||
|
|
||||||
|
* org-faces.el (org-mode-line-clock): New face.
|
||||||
|
|
||||||
2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
|
2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
|
||||||
|
|
||||||
* org-gnus.el (org-gnus-store-link): Fix bug where
|
* org-gnus.el (org-gnus-store-link): Fix bug where
|
||||||
|
|
|
@ -349,7 +349,8 @@ If not, show simply the clocked time like 01:50."
|
||||||
'help-echo (concat help-text ": " org-clock-heading))
|
'help-echo (concat help-text ": " org-clock-heading))
|
||||||
(org-propertize clock-string 'help-echo help-text)))
|
(org-propertize clock-string 'help-echo help-text)))
|
||||||
'local-map org-clock-mode-line-map
|
'local-map org-clock-mode-line-map
|
||||||
'mouse-face (if (featurep 'xemacs) 'highlight 'mode-line-highlight)))
|
'mouse-face (if (featurep 'xemacs) 'highlight 'mode-line-highlight)
|
||||||
|
'face 'org-mode-line-clock))
|
||||||
(if org-clock-effort (org-clock-notify-once-if-expired))
|
(if org-clock-effort (org-clock-notify-once-if-expired))
|
||||||
(force-mode-line-update))
|
(force-mode-line-update))
|
||||||
|
|
||||||
|
|
|
@ -613,6 +613,11 @@ If it is less than 8, the level-1 face gets re-used for level N+1 etc."
|
||||||
"Face used to highlight math latex and other special exporter stuff."
|
"Face used to highlight math latex and other special exporter stuff."
|
||||||
:group 'org-faces)
|
:group 'org-faces)
|
||||||
|
|
||||||
|
(unless (facep 'org-mode-line-clock)
|
||||||
|
(copy-face 'modeline 'org-mode-line-clock)
|
||||||
|
(set-face-doc-string 'org-agenda-date
|
||||||
|
"Face used for clock display in mode line."))
|
||||||
|
|
||||||
(provide 'org-faces)
|
(provide 'org-faces)
|
||||||
|
|
||||||
;; arch-tag: 9dab5f91-c4b9-4d6f-bac3-1f6211ad0a04
|
;; arch-tag: 9dab5f91-c4b9-4d6f-bac3-1f6211ad0a04
|
||||||
|
|
Loading…
Reference in New Issue