Replace the custom scratch buffer with a personal hyberbole file

This commit is contained in:
Andreas Zweili 2023-10-26 09:37:38 +02:00
parent 8203028ec7
commit 69f7511f0f
1 changed files with 2 additions and 9 deletions

View File

@ -1,11 +1,4 @@
(use-package hyperbole
:config
(hyperbole-mode 1)
;; https://emacs.stackexchange.com/a/55693/17595
(let ((file "~/nextcloud/10_documents/02_projects/projects.el"))
(when (file-exists-p file)
(setq initial-scratch-message
(with-temp-buffer
(insert-file-contents file)
(buffer-string))))))
(setq hbmap:dir-user "~/nextcloud/10_documents/99_archive/0000/hyperbole/")
(hyperbole-mode 1))