org-agenda: fix regexp in progress for state logging
commit2d747caeab545d6693e54e42621d66fc37f0ab5f
authorJulien Danjou <julien@danjou.info>
Wed, 26 Jan 2011 20:52:12 +0000 (26 20:52 +0000)
committerBastien Guerry <bzg@altern.org>
Wed, 26 Jan 2011 17:24:19 +0000 (26 18:24 +0100)
treec97ae4a82f4900827ead98f76780434ede1c47c4
parent9658a9909fd2b4da946893ae54cd9415c1ccd75c
org-agenda: fix regexp in progress for state logging

* org-agenda.el (org-agenda-get-progress): Fix regexp for statep: it
must has \\ at the end of the line. This avoid matching the following
heading when there's no newline between the logged state and the next
heading.

Signed-off-by: Julien Danjou <julien@danjou.info>
lisp/org-agenda.el