diff --git a/oni-org-roam.el b/oni-org-roam.el index 261d1c9..2df0744 100644 --- a/oni-org-roam.el +++ b/oni-org-roam.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2023.0325.115622 +;; Version: 2023.0325.222921 ;; Package-Requires: (oni-org org-roam) ;; This program is free software; you can redistribute it and/or modify @@ -80,7 +80,11 @@ (let ((buffer (get-buffer-create "*books-to-read*"))) (with-current-buffer buffer (erase-buffer) - (mapc (lambda (item) (insert (caddr item) "\n")) (oni-org-roam--books-to-read))) + (save-excursion + (mapc (lambda (item) (insert "- [["(cadr item) "][" + (caddr item) "]]\n")) + (oni-org-roam--books-to-read)) + (org-mode))) (switch-to-buffer buffer))) (defun oni-org-roam-random-book-to-read ()