emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [bug] org-habit-show-all-today undefined


From: Nick Dokos
Subject: Re: [O] [bug] org-habit-show-all-today undefined
Date: Tue, 29 May 2012 11:33:35 -0400

Eric S Fraga <address@hidden> wrote:

> With the most recent update to org,
> 
> ,----
> | Author: Max Mikhanosha <address@hidden>
> | 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]