* [PATCH] Add doc string to org-is-habit-p
@ 2009-11-18 17:35 Bernt Hansen
0 siblings, 0 replies; only message in thread
From: Bernt Hansen @ 2009-11-18 17:35 UTC (permalink / raw)
To: emacs-orgmode; +Cc: Bernt Hansen
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-18 17:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-18 17:35 [PATCH] Add doc string to org-is-habit-p Bernt Hansen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).