summaryrefslogtreecommitdiffstatshomepage
path: root/nroam.el
diff options
context:
space:
mode:
authorGravatar Nicolas Petton2021-02-25 09:34:57 +0100
committerGravatar Nicolas Petton2021-02-25 09:34:57 +0100
commit1038dbbbc193c0b467ca65af4a9feaa572954312 (patch)
tree9e114b878f9b0b4cc481038927e1599687a3a36b /nroam.el
parent4de0b64cd7e0465de167569114fb489fcd001ef3 (diff)
downloadnroam-1038dbbbc193c0b467ca65af4a9feaa572954312.tar.gz
nroam-1038dbbbc193c0b467ca65af4a9feaa572954312.zip
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.
Diffstat (limited to 'nroam.el')
-rw-r--r--nroam.el1
1 files changed, 1 insertions, 0 deletions
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)