Update emacs.d/org-roam-templates/main.el

main
千住柱間 2024-01-22 05:37:04 +00:00
parent c11553663d
commit 2c4b91089b
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
;; -*- mode: emacs-lisp; buffer-read-only: t; -*- ;; -*- mode: emacs-lisp; buffer-read-only: t; -*-
(require 'org-roam) ;; bug fix, org-roam doesn't load properly, so we have to call it.
(setq org-roam-directory "/mnt/Data/Documents/org-files/org-roam")
;; be paranoid, only open org files in read-only mode. ;; be paranoid, only open org files in read-only mode.
;; ;;
@ -12,6 +15,7 @@
(add-hook 'org-mode-hook 'myorg-open-read-only-mode) (add-hook 'org-mode-hook 'myorg-open-read-only-mode)
;;;; add inactive timestamp to every org-item ;;;; add inactive timestamp to every org-item
;; https://stackoverflow.com/a/52815573/5115219 ;; https://stackoverflow.com/a/52815573/5115219
;; https://emacs.stackexchange.com/a/45369/29404 ;; https://emacs.stackexchange.com/a/45369/29404