summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2009-11-19 14:19:20 +0100
committerCarsten Dominik <carsten.dominik@gmail.com>2009-11-19 14:19:20 +0100
commit2d511abb73b403317c07cba41a1424eb5083e326 (patch)
tree017373a0f8ca13dc3f93c6788c6de0b73aceef0f
parentcb78cdf867702a1361c55e611751793cd92e67f9 (diff)
downloadorg-mode-2d511abb73b403317c07cba41a1424eb5083e326.tar.gz
Add doc string to a function
-rwxr-xr-xlisp/ChangeLog4
-rw-r--r--lisp/org-habit.el1
2 files changed, 5 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7cc5027..42b7a62 100755
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-19 Carsten Dominik <carsten.dominik@gmail.com>
+
+ * org-habit.el (org-is-habit-p): Add doc string.
+
2009-11-18 Carsten Dominik <carsten.dominik@gmail.com>
* org-archive.el (org-archive-subtree-default-with-confirmation):
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)