Fix "invalid search bound" when toggling a checkbox
commitce0d35a51cf489a65db513f085a3145420389500
authorNicolas Goaziou <n.goaziou@gmail.com>
Thu, 30 Sep 2010 19:55:45 +0000 (30 21:55 +0200)
committerDavid Maus <dmaus@ictsoc.de>
Mon, 11 Oct 2010 18:35:30 +0000 (11 20:35 +0200)
tree8bcbaaa163ba8fd1c473e8b529168d0cb257aef6
parent584adacf20eb8c0c2a9838da64558d5012978ec2
Fix "invalid search bound" when toggling a checkbox

* org-list.el (org-toggle-checkbox): avoid some boundary error when
  inserting a checkbox in an empty last item of a list.
lisp/org-list.el