Explorar o código

Toggle checkbox even if not at beginning of line.

* org-list.el (org-toggle-checkbox): go to beginning of line before processing.
Nicolas Goaziou %!s(int64=15) %!d(string=hai) anos
pai
achega
a2a72f38fa
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)))