[O] [PATCH] Allow datetree to find years with trailing whitespace.

2012-05-25 Thread Matt Lundin
* lisp/org-datetree.el: Fix regexp to allow datetree to find headings with trailing whitespace. This fixes a bug in which an existing datetree heading (e.g., * 2012 ) would not be found by org-datetree-find-year-create if it had trailing whitespace. This can cause problems, for instance,

Re: [O] [PATCH] Allow datetree to find years with trailing whitespace.

2012-05-25 Thread Bastien
Hi Matt, Matt Lundin m...@imapmail.org writes: * lisp/org-datetree.el: Fix regexp to allow datetree to find headings with trailing whitespace. This fixes a bug in which an existing datetree heading (e.g., * 2012 ) would not be found by org-datetree-find-year-create if it had trailing