datetree: Recognize year headline with tags as a match
commitad06a946a59366c48d832dca1df94cdeba38a920
authorTim Burt <tcburt@rochester.rr.com>
Sun, 24 Feb 2013 21:03:22 +0000 (24 16:03 -0500)
committerBastien Guerry <bzg@altern.org>
Mon, 25 Feb 2013 09:47:36 +0000 (25 10:47 +0100)
treeb35eb9e9248fa75ca7193e213e3584f59b82e5c7
parentac44a7af0629cbc201654807709f4c364fe6ed4d
datetree: Recognize year headline with tags as a match

* lisp/org-datetree.el (org-datetree-find-year-create): Also match
headlines with tags.

Change made to fix the problem where a year headline of a
datetree was not matched if it had a tag.  The :NOEXPORT: tag
is one useful case that should be matched.

Initial problem observation reported by Jeffrey McBeth on the
org-mode mailing list.

TINYCHANGE
lisp/org-datetree.el