mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix +org/insert-item in nested plain lists
Would prepend new list items in the middle of plain lists, rather than before them.
This commit is contained in:
@ -169,7 +169,7 @@ wrong places)."
|
||||
(org-end-of-line)))
|
||||
(insert "\n" (make-string pad 32) (or marker ""))))
|
||||
(`above
|
||||
(goto-char (line-beginning-position))
|
||||
(org-beginning-of-item)
|
||||
(if (and marker (string-match-p "[0-9]+[).]" marker))
|
||||
(org-insert-item)
|
||||
(insert (make-string pad 32) (or marker ""))
|
||||
|
Reference in New Issue
Block a user