From 9ab5e206c53a477efcb370eb22f21db005c40f48 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 30 Mar 2023 22:26:59 -0700 Subject: [PATCH] =?UTF-8?q?[oni-org-roam]=20Enable=20=E2=80=98view-mode?= =?UTF-8?q?=E2=80=99=20when=20showing=20list=20of=20books=20to=20read?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oni-org-roam.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/oni-org-roam.el b/oni-org-roam.el index 79eef27..a2feefa 100644 --- a/oni-org-roam.el +++ b/oni-org-roam.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2023.0325.231122 +;; Version: 2023.0330.183039 ;; Package-Requires: (oni-org org-roam) ;; This program is free software; you can redistribute it and/or modify @@ -84,7 +84,8 @@ (mapc (lambda (item) (insert "- [["(cadr item) "][" (caddr item) "]]\n")) (oni-org-roam--books-to-read)) - (org-mode))) + (org-mode) + (view-mode))) (switch-to-buffer buffer))) (defun oni-org-roam-random-book-to-read ()