[oni-org-roam] Enable ‘view-mode’ when showing list of books to read
This commit is contained in:
parent
9050edb896
commit
9ab5e206c5
1 changed files with 3 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 2023.0325.231122
|
;; Version: 2023.0330.183039
|
||||||
;; Package-Requires: (oni-org org-roam)
|
;; Package-Requires: (oni-org org-roam)
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -84,7 +84,8 @@
|
||||||
(mapc (lambda (item) (insert "- [["(cadr item) "]["
|
(mapc (lambda (item) (insert "- [["(cadr item) "]["
|
||||||
(caddr item) "]]\n"))
|
(caddr item) "]]\n"))
|
||||||
(oni-org-roam--books-to-read))
|
(oni-org-roam--books-to-read))
|
||||||
(org-mode)))
|
(org-mode)
|
||||||
|
(view-mode)))
|
||||||
(switch-to-buffer buffer)))
|
(switch-to-buffer buffer)))
|
||||||
|
|
||||||
(defun oni-org-roam-random-book-to-read ()
|
(defun oni-org-roam-random-book-to-read ()
|
||||||
|
|
Loading…
Reference in a new issue