mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
+org/dwim-at-point: cycle checkboxes (#63)
This commit is contained in:
@ -170,7 +170,8 @@ fragments, opening links, or refreshing images."
|
|||||||
(org-table-align)))
|
(org-table-align)))
|
||||||
|
|
||||||
((org-element-property :checkbox (org-element-lineage context '(item) t))
|
((org-element-property :checkbox (org-element-lineage context '(item) t))
|
||||||
(org-toggle-checkbox))
|
(let ((match (and (org-at-item-checkbox-p) (match-string 1))))
|
||||||
|
(org-toggle-checkbox (if (equal match "[ ]") '(16)))))
|
||||||
|
|
||||||
((and (eq type 'headline)
|
((and (eq type 'headline)
|
||||||
(org-element-property :todo-type context))
|
(org-element-property :todo-type context))
|
||||||
|
Reference in New Issue
Block a user