Browse Source

Toggle checkbox even if not at beginning of line.

* org-list.el (org-toggle-checkbox): go to beginning of line before processing.
Nicolas Goaziou 8 years ago
parent
commit
a2a72f38fa
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lisp/org-list.el

+ 1 - 0
lisp/org-list.el

@@ -1358,6 +1358,7 @@ in subtree."
                          (t "[X]"))
                    t t nil 1))))))))
     (save-excursion
+      (beginning-of-line)
       (while (< (point) end)
         (funcall act-on-item ref-presence ref-status)
         (org-search-forward-unenclosed org-item-beginning-re end 'move)))