diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2010-08-07 19:20:16 +0200 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2010-09-01 19:05:53 +0200 |
commit | a2a72f38fa8cd5f13c7ddf18d91c8c76f4fdad69 (patch) | |
tree | 138b5047ffde76206f4cbd19098f2dbed78ea941 | |
parent | e890cb5eeb18e0d17f19c975d9ab60e423b9c793 (diff) | |
download | org-mode-a2a72f38fa8cd5f13c7ddf18d91c8c76f4fdad69.tar.gz |
Toggle checkbox even if not at beginning of line.
* org-list.el (org-toggle-checkbox): go to beginning of line before processing.
-rw-r--r-- | lisp/org-list.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org-list.el b/lisp/org-list.el index 6adbab9..ed12d41 100644 --- a/lisp/org-list.el +++ b/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))) |