Eric S Fraga <e.fr...@ucl.ac.uk> wrote: > With the most recent update to org, > > ,---- > | Author: Max Mikhanosha <m...@openchat.com> > | Date: Mon May 28 14:55:32 2012 -0400 > |=20 > | Add ability to show all (even unscheduled) habits on today agenda, by > | setting `org-habit-show-all-today' to t. > |=20=20=20=20=20 > | * lisp/org-agenda.el (defvar org-habit-show-all-today): new variable > | (org-agenda-get-scheduled): show all habits if user wants it > | * lisp/org-habit.el (defcustom org-habit-show-all-today): new variable > `---- > > I get the following error as soon as I try to view my agenda. I don't > use habits at all. > > ,---- > | Debugger entered--Lisp error: (void-variable org-habit-show-all-today)
Me too, with the version just pulled earlier today: Org-mode version 7.8.10 (release_7.8.10-626-g8a83e3 @ /home/nick/elisp/org-mode/lisp/) I fixed it (or maybe I should say: I "fixed" it :-) ) by giving an initial value to the variable in org-agenda.el: (defvar org-habit-show-all-today nil "... doc string ...") Nick