diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d7dc6386b..45c9ec79e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-05-13 Mikael Fornius + + * org-habit.el (org-habit-build-graph): Help-echo date when + mouse is over stars. + 2010-05-13 Jan Böker * org.el (org-file-apps): Improve docstring to reflect diff --git a/lisp/org-habit.el b/lisp/org-habit.el index 3d731cab6..098f24d21 100644 --- a/lisp/org-habit.el +++ b/lisp/org-habit.el @@ -280,9 +280,16 @@ current time." donep))) markedp face) (if donep - (progn + (let ((done-time (time-add + starting + (days-to-time + (- start (time-to-days starting)))))) + (aset graph index ?*) (setq markedp t) + (put-text-property + index (1+ index) 'help-echo + (format-time-string (org-time-stamp-format) done-time) graph) (while (and done-dates (= start (car done-dates))) (setq last-done-date (car done-dates)