diff options
author | Carsten Dominik <carsten.dominik@gmail.com> | 2010-01-04 09:58:53 +0100 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2010-01-04 09:58:53 +0100 |
commit | 2f5f6e401f187c2db8131cdbc4355b688ce4c55a (patch) | |
tree | b81570afe27f003539a78a6adf5f296672079201 | |
parent | f266ee62bb8282cc883adea9f26362b2d3b1ab7d (diff) | |
download | org-mode-2f5f6e401f187c2db8131cdbc4355b688ce4c55a.tar.gz |
Turn off invisibility while constructing habit graphs
Bernt Hansen reported strange things happening to the display when
graph tasks are hidden while updating a task in the agenda.
-rwxr-xr-x | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/org-habit.el | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a4bc6ca..87472bc 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-01-04 Carsten Dominik <carsten.dominik@gmail.com> + + * org-habit.el (org-habit-insert-consistency-graphs): Turn off + invisibility while adding the graphs. + 2010-01-03 Carsten Dominik <carsten.dominik@gmail.com> * org-remember.el (org-select-remember-template): Use C letter to diff --git a/lisp/org-habit.el b/lisp/org-habit.el index b40bcf7..08856ac 100644 --- a/lisp/org-habit.el +++ b/lisp/org-habit.el @@ -305,6 +305,7 @@ current time." (defun org-habit-insert-consistency-graphs (&optional line) "Insert consistency graph for any habitual tasks." (let ((inhibit-read-only t) l c + (buffer-invisibility-spec nil) (moment (time-subtract (current-time) (list 0 (* 3600 org-extend-today-until) 0)))) (save-excursion |