From f7f1b4bb7eeeff603bdbeeea1b9da07809c13b5b Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 21 Jan 2013 21:59:03 +0100 Subject: [PATCH] Fix C-c C-c error when called on attributes attached to a plain list * lisp/org.el (org-ctrl-c-ctrl-c): Fix error when called on attributes attached to a plain list. --- lisp/org.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 4fe398513..843645f01 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -19653,8 +19653,8 @@ This command does many different things, depending on context: (org-list-set-checkbox begin struct new-box))) (org-list-write-struct struct (org-list-parents-alist struct) old-struct) - (org-update-checkbox-count-maybe)) - (org-list-send-list 'maybe)) + (org-update-checkbox-count-maybe) + (save-excursion (goto-char begin) (org-list-send-list 'maybe)))) ((property-drawer node-property) (call-interactively 'org-property-action)) ((radio-target target) -- 2.11.4.GIT