--- This trivial patch is available at git://git.norang.ca/org-mode.git doc
lisp/org-habit.el | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lisp/org-habit.el b/lisp/org-habit.el index c27f6b9..d3179cf 100644 --- a/lisp/org-habit.el +++ b/lisp/org-habit.el @@ -128,6 +128,7 @@ relative to the current effective date." (error "Invalid duration string: %s" ts))) (defun org-is-habit-p (&optional pom) + "Is the task at POM or point a habit?" (string= "habit" (org-entry-get (or pom (point)) "STYLE"))) (defun org-habit-parse-todo (&optional pom) -- 1.6.5.3.148.g785c5 _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode