diff --git a/init.org b/init.org index db037b0..230683c 100644 --- a/init.org +++ b/init.org @@ -4392,6 +4392,8 @@ From https://emacs.stackexchange.com/questions/20577/org-babel-load-all-language Newlines are inserted before headings (unless immediately preceded by another heading) and after headings." (interactive) + (unless (org-at-heading-p) + (outline-next-heading)) (org-map-tree (lambda () (save-excursion