From 1038dbbbc193c0b467ca65af4a9feaa572954312 Mon Sep 17 00:00:00 2001 From: Nicolas Petton Date: Thu, 25 Feb 2021 09:34:57 +0100 Subject: Fix nroam with org-roam-dailies-find-today * nroam.el (nroam--insert): Insert a non read-only newline before nroam sections so that `org-roam-dailies-find-today' can insert the capture template. --- nroam.el | 1 + 1 file changed, 1 insertion(+) diff --git a/nroam.el b/nroam.el index ff2b992..84af184 100644 --- a/nroam.el +++ b/nroam.el @@ -189,6 +189,7 @@ Make the region inserted by BODY read-only, and marked with (with-buffer-modified-unmodified (save-excursion (goto-char p) + (nroam--ensure-empty-line) (with-nroam-markers (seq-do #'funcall nroam-sections)) (when (nroam--sections-inserted-p) -- cgit v1.2.3-54-g00ecf