diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2011-08-12 15:17:48 +0200 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2011-08-12 15:17:48 +0200 |
commit | 1bbfec57af9bd752f6bbe40f0ec53af99b74c02a (patch) | |
tree | 4cb3deaf16de8149aa70ef3aedfff667cd9ae7b6 | |
parent | b4aee73ef19211ff7d8051e1d0533cb699c200cf (diff) | |
download | org-mode-1bbfec57af9bd752f6bbe40f0ec53af99b74c02a.tar.gz |
org-list: don't clear marker while still in use
* lisp/org-list.el (org-toggle-checkbox): don't clear lim-down while
used in the while loop.
-rw-r--r-- | lisp/org-list.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-list.el b/lisp/org-list.el index 64197e9..4ea78cd 100644 --- a/lisp/org-list.el +++ b/lisp/org-list.el @@ -2329,9 +2329,9 @@ in subtree, ignoring drawers." "Checkboxes were removed due to unchecked box at line %d" (org-current-line block-item)))) (goto-char bottom) - (move-marker lim-down nil) (move-marker bottom nil) - (org-list-struct-apply-struct struct struct-copy))))) + (org-list-struct-apply-struct struct struct-copy))) + (move-marker lim-down nil))) (org-update-checkbox-count-maybe)) (defun org-reset-checkbox-state-subtree () |