mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-22 09:48:28 +00:00
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.
This commit is contained in:
parent
66bf386e25
commit
6593fcc7cd
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue