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.
This commit is contained in:
Carsten Dominik 2010-01-04 09:58:53 +01:00
parent f266ee62bb
commit 2f5f6e401f
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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