summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2010-01-31 17:51:49 +0100
committerCarsten Dominik <carsten.dominik@gmail.com>2010-01-31 17:51:49 +0100
commitad0079ca7408763d2884cf595a43a4fef7a2ba98 (patch)
tree2aafcc5e82ae0a60c16e0ccd4885023feb6fa279
parentef3c18ed479d9c2245ed5bdcc59d7e651c900e5f (diff)
downloadorg-mode-ad0079ca7408763d2884cf595a43a4fef7a2ba98.tar.gz
Fix habit alignment problems
-rwxr-xr-xlisp/ChangeLog5
-rw-r--r--lisp/org-habit.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1661a19..8666f60 100755
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-31 Carsten Dominik <carsten.dominik@gmail.com>
+
+ * org-habit.el (org-habit-insert-consistency-graphs): Fix a
+ problem with mis-aligned graphs when showing habits.
+
2010-01-28 Mikael Fornius <mfo@abc.se>
* org.el (org-assign-fast-keys): Prefer keys used in keyword name
diff --git a/lisp/org-habit.el b/lisp/org-habit.el
index cf53057..deb8132 100644
--- a/lisp/org-habit.el
+++ b/lisp/org-habit.el
@@ -305,7 +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)
+ (buffer-invisibility-spec '(org-link))
(moment (time-subtract (current-time)
(list 0 (* 3600 org-extend-today-until) 0))))
(save-excursion