fix org-roam-db-query missing on startup

requiring org-roam solved it. it stays loaded on doom-reload, so only
shows when starting emacs fresh.
This commit is contained in:
Willem van den Ende
2023-01-19 12:12:17 +00:00
parent 91ae36bb92
commit cb76399847
+2 -1
View File
@@ -39,6 +39,7 @@
(setq org-roam-directory "~/MyDocuments/qwan/essays/willem") (setq org-roam-directory "~/MyDocuments/qwan/essays/willem")
; (define-key org-roam-mode-map [mouse-1] #'org-roam-visit-thing) ; (define-key org-roam-mode-map [mouse-1] #'org-roam-visit-thing)
(require 'org-roam)
;; make sure that org-timer works and org-pomodoro therefore. Limit the number of agenda files searched ;; make sure that org-timer works and org-pomodoro therefore. Limit the number of agenda files searched
;; plus a utility function for flattening, since that is not part of the standard library of emacs ;; plus a utility function for flattening, since that is not part of the standard library of emacs
(defun flatten (list-of-lists) (defun flatten (list-of-lists)
@@ -344,7 +345,7 @@ target-path)))
(a-string) (a-string)
(concat "![alt-text goes here](" a-string ")")) (concat "![alt-text goes here](" a-string ")"))
(defun qwan/image-mode-copy-filename-as-markdown-image-link (defun qwan/image-mode-copy-filename-as-markdown-image-link
() ()
"Push a markdown link to the currently visited image onto the kill ring." "Push a markdown link to the currently visited image onto the kill ring."
(interactive) (interactive)
(unless buffer-file-name (unless buffer-file-name