mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-18 16:06:56 -05:00
+org/insert-item: fix one-too-many prepended newlines in 1st-level headers
This commit is contained in:
@@ -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))))
|
||||||
|
Reference in New Issue
Block a user