org-agenda.el (org-agenda-set-restriction-lock): Fix restriction
commit66cba1c51f0d0c71f1bc2698d764401347646233
authorBastien Guerry <bzg@altern.org>
Tue, 19 Feb 2013 09:33:07 +0000 (19 10:33 +0100)
committerBastien Guerry <bzg@altern.org>
Tue, 19 Feb 2013 09:33:07 +0000 (19 10:33 +0100)
treea3a903d7908ccb23206e1db4b9403ac01e4e1abc
parentefb2ce9c12feee122e61e153e65503a43b5138bf
org-agenda.el (org-agenda-set-restriction-lock): Fix restriction

* org-agenda.el (org-agenda-set-restriction-lock): Fix
restriction so that it ends at the beginning of the next
headline at the same level.
lisp/org-agenda.el