From: Bernt Hansen <bernt@norang.ca>
To: emacs-orgmode@gnu.org
Cc: Bernt Hansen <bernt@norang.ca>
Subject: [PATCH] Add doc string to org-is-habit-p
Date: Wed, 18 Nov 2009 12:35:23 -0500 [thread overview]
Message-ID: <1258565723-4832-1-git-send-email-bernt@norang.ca> (raw)
---
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
reply other threads:[~2009-11-18 17:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1258565723-4832-1-git-send-email-bernt@norang.ca \
--to=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.