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:
parent
99ab08afe8
commit
c9ffa063e7
1 changed files with 1 additions and 1 deletions
|
@ -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 ""))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue