summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2010-01-04 09:58:53 +0100
committerCarsten Dominik <carsten.dominik@gmail.com>2010-01-04 09:58:53 +0100
commit2f5f6e401f187c2db8131cdbc4355b688ce4c55a (patch)
treeb81570afe27f003539a78a6adf5f296672079201
parentf266ee62bb8282cc883adea9f26362b2d3b1ab7d (diff)
downloadorg-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-xlisp/ChangeLog5
-rw-r--r--lisp/org-habit.el1
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