summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2013-01-21 21:59:03 +0100
committerNicolas Goaziou <n.goaziou@gmail.com>2013-01-21 21:59:03 +0100
commitf7f1b4bb7eeeff603bdbeeea1b9da07809c13b5b (patch)
tree916742210c39d8e842c0d033e5cfdf73133fe278
parent0cf7179430f29b98cd77867b71e9aa5cb15be985 (diff)
downloadorg-mode-f7f1b4bb7eeeff603bdbeeea1b9da07809c13b5b.tar.gz
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.
-rw-r--r--lisp/org.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 4fe3985..843645f 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)