[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] [PATCH] Add doc string to org-is-habit-p
From: |
Bernt Hansen |
Subject: |
[Orgmode] [PATCH] Add doc string to org-is-habit-p |
Date: |
Wed, 18 Nov 2009 12:35:23 -0500 |
---
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Orgmode] [PATCH] Add doc string to org-is-habit-p,
Bernt Hansen <=