diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2011-03-30 19:00:45 +0200 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2011-03-30 19:00:45 +0200 |
commit | 2f72b3efcb675a97b35240463da40513d0b3727f (patch) | |
tree | 18be100ce0792ac8d160149ab2576d049d495a6d | |
parent | b8fdddcd9cba913478a084bfaf1e6372a5e8670e (diff) | |
download | org-mode-2f72b3efcb675a97b35240463da40513d0b3727f.tar.gz |
org-list: fix cookie updating
* lisp/org-list.el: move org-update-checkbox-count-maybe call outside
of save-excursion to get back to original position.
-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 7787706..2950daa 100644 --- a/lisp/org-list.el +++ b/lisp/org-list.el @@ -2164,8 +2164,8 @@ in subtree, ignoring drawers." "Checkboxes were removed due to unchecked box at line %d" (org-current-line block-item)))) (goto-char bottom) - (org-list-struct-apply-struct struct struct-copy)))) - (org-update-checkbox-count-maybe))) + (org-list-struct-apply-struct struct struct-copy))))) + (org-update-checkbox-count-maybe)) (defun org-reset-checkbox-state-subtree () "Reset all checkboxes in an entry subtree." |