summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2010-07-27 20:55:31 +0200
committerNicolas Goaziou <n.goaziou@gmail.com>2010-09-01 19:05:50 +0200
commit6593fcc7cd31824c5df22051a43878d86dc516a4 (patch)
treeb63419c50c29143a28642a4e4382c71017afd901
parent66bf386e259a364bcca68174047d67fe7d046709 (diff)
downloadorg-mode-6593fcc7cd31824c5df22051a43878d86dc516a4.tar.gz
Unconditionally fix list when using C-c C-c.
* org.el (org-ctrl-c-ctrl-c): call `org-fix-bullet-type' instead of `org-maybe-renumber-ordered-list' and `org-fix-bullet-type' before toggling a checkbox.
-rw-r--r--lisp/org.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 8103c66..e4e39e9 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -17207,12 +17207,12 @@ This command does many different things, depending on context:
(org-footnote-at-definition-p))
(call-interactively 'org-footnote-action))
((org-at-item-checkbox-p)
+ (call-interactively 'org-fix-bullet-type)
(call-interactively 'org-toggle-checkbox)
(org-list-send-list 'maybe))
((org-at-item-p)
- (if arg
- (call-interactively 'org-toggle-checkbox)
- (call-interactively 'org-maybe-renumber-ordered-list))
+ (call-interactively 'org-fix-bullet-type)
+ (when arg (call-interactively 'org-toggle-checkbox))
(org-list-send-list 'maybe))
((save-excursion (beginning-of-line 1) (looking-at org-dblock-start-re))
;; Dynamic block