+org/insert-item: fix one-too-many prepended newlines in 1st-level headers
This commit is contained in:
parent
72505d4001
commit
29030b6663
1 changed files with 0 additions and 1 deletions
|
@ -224,7 +224,6 @@ wrong places)."
|
||||||
(org-back-to-heading)
|
(org-back-to-heading)
|
||||||
(org-insert-heading)
|
(org-insert-heading)
|
||||||
(when (= level 1)
|
(when (= level 1)
|
||||||
(save-excursion (evil-open-above 1))
|
|
||||||
(save-excursion (insert "\n")))))
|
(save-excursion (insert "\n")))))
|
||||||
(when (org-element-property :todo-type context)
|
(when (org-element-property :todo-type context)
|
||||||
(org-todo 'todo))))
|
(org-todo 'todo))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue