Skip to content

Commit

Permalink
fix is-checkbox condition check
Browse files Browse the repository at this point in the history
  • Loading branch information
ucizi-turintech authored Sep 20, 2023
1 parent 0f5dc4e commit c98cb65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion org-autolist.el
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ automatically insert new list items.
(is-listitem (or (org-at-item-p)
(and (eq 'paragraph (car el))
(eq 'item (car parent)))))
(is-checkbox (plist-get (cadr parent) :checkbox)))
(is-checkbox (org-at-item-checkbox-p)))
(if (and is-listitem
(not
(and org-return-follows-link
Expand Down

0 comments on commit c98cb65

Please sign in to comment.