org-clock.el (org-clock-put-overlay): Minor enhancements

* org-clock.el (org-clock-put-overlay): Don't use a line of
dots anymore.  Enhance display of time.

Thanks to Noah Slater for suggesting this.
This commit is contained in:
Bastien Guerry 2014-04-17 13:10:09 +02:00
parent 1a27bed477
commit 13230e3a66
1 changed files with 2 additions and 2 deletions

View File

@ -1863,9 +1863,9 @@ will be easy to remove."
tx (concat (buffer-substring (1- (point)) (point))
(make-string
(max 0 (- (- c (current-column))
(length (org-get-at-bol 'line-prefix)))) ?.)
(length (org-get-at-bol 'line-prefix)))) ? )
(org-add-props
(concat " " (org-minutes-to-clocksum-string time) " ")
(format " %9s " (org-minutes-to-clocksum-string time))
(list 'face 'org-clock-overlay))
""))
(if (not (featurep 'xemacs))