org-datetree.el: Be more restrictive when finding a year datetree
commitccdfa8ddf8c1e7ae438a3f3df6927f1026baf5c0
authorBastien Guerry <bzg@altern.org>
Thu, 18 Apr 2013 10:20:08 +0000 (18 12:20 +0200)
committerBastien Guerry <bzg@altern.org>
Thu, 18 Apr 2013 10:20:08 +0000 (18 12:20 +0200)
tree42dabda8e5a279e7b742a8521dfe0c29c08725bd
parentb432d2eb93a7277de765434d87eda9237e540826
org-datetree.el: Be more restrictive when finding a year datetree

* org-datetree.el (org-datetree-find-month-create)
(org-datetree-find-day-create): Add a docstring.
(org-datetree-find-year-create): Only match headlines with a
year or a year and one or more tags.

Thanks to Suvayu Ali for reporting this.
lisp/org-datetree.el