From 2a62bc002a630e69f14238cf0e5a14f0d0d95f3e Mon Sep 17 00:00:00 2001 From: contrapunctus Date: Mon, 30 May 2022 04:07:34 +0530 Subject: [PATCH] my-org-fix-newlines - move past property drawers --- init.org | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.org b/init.org index 230683c..67876b3 100644 --- a/init.org +++ b/init.org @@ -4405,6 +4405,8 @@ preceded by another heading) and after headings." (insert "\n"))) (save-excursion (forward-line) + (while (org-at-drawer-p) + (forward-line)) (goto-char (point-at-bol)) (when (looking-at-p "^$") (join-line))))))