1
0
Fork 0

[oni-org-roam] Enable ‘view-mode’ when showing list of books to read

This commit is contained in:
Tom Willemse 2023-03-30 22:26:59 -07:00
parent 9050edb896
commit 9ab5e206c5

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; 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 ()