Update to include MELPA and load HOWM correctly
This commit is contained in:
parent
4951002e2d
commit
8315be6082
@ -8,11 +8,13 @@
|
|||||||
;; Add the whomp.d directory to the load path
|
;; Add the whomp.d directory to the load path
|
||||||
(add-to-list 'load-path (expand-file-name "whomp.d" user-emacs-directory))
|
(add-to-list 'load-path (expand-file-name "whomp.d" user-emacs-directory))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; Package management dependencies
|
;; Package management dependencies
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
(add-to-list 'package-archives
|
||||||
|
'("melpa-stable" . "https://stable.melpa.org/packages/") t)
|
||||||
|
|
||||||
;; And disable package at startup
|
;; And disable package at startup
|
||||||
(setq package-enable-at-startup nil)
|
(setq package-enable-at-startup nil)
|
||||||
|
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
|
|
||||||
(when (memq 'howm whomp-notes)
|
(when (memq 'howm whomp-notes)
|
||||||
(use-package howm
|
(use-package howm
|
||||||
:straight t
|
:ensure t
|
||||||
:defer t)
|
:init
|
||||||
;; Directory configuration
|
;; Directory configuration
|
||||||
(whomp/ensure-directory-exists "~/org")
|
(whomp/ensure-directory-exists "~/org")
|
||||||
(setq howm-home-directory "~/org/")
|
(setq howm-home-directory "~/org/")
|
||||||
@ -27,7 +27,7 @@
|
|||||||
(setq howm-menu-expiry-hours 2) ;; cache menu N hours
|
(setq howm-menu-expiry-hours 2) ;; cache menu N hours
|
||||||
(setq howm-menu-file "00000000000000.txt") ;; don't *search*
|
(setq howm-menu-file "00000000000000.txt") ;; don't *search*
|
||||||
|
|
||||||
(message "HOWM loaded"))
|
(message "HOWM loaded")))
|
||||||
|
|
||||||
(message "W.H.O.M.P. Note Taking packages loaded")
|
(message "W.H.O.M.P. Note Taking packages loaded")
|
||||||
(provide 'whomp-notes)
|
(provide 'whomp-notes)
|
||||||
|
Loading…
Reference in New Issue
Block a user