aboutsummaryrefslogtreecommitdiff
path: root/publish.el
diff options
context:
space:
mode:
Diffstat (limited to 'publish.el')
-rw-r--r--publish.el11
1 files changed, 8 insertions, 3 deletions
diff --git a/publish.el b/publish.el
index 325ce26..3399715 100644
--- a/publish.el
+++ b/publish.el
@@ -1,8 +1,13 @@
;;; -*- lexical-binding: t -*-
;; Explicitly load packages for Doom Emacs
-(add-to-list 'load-path "~/.config/emacs/.local/straight/repos/htmlize")
-(add-to-list 'load-path "~/.config/emacs/.local/straight/repos/weblorg")
-(add-to-list 'load-path "~/.config/emacs/.local/straight/repos/templatel")
+(defvar site-lisp-base
+ (if (eq system-type 'darwin)
+ "~/.config/emacs/.local/straight/repos" ; macOS path
+ "/home/linuxbrew/.config/emacs/.local/straight/repos")) ; CI/Linux path
+
+(add-to-list 'load-path (expand-file-name "htmlize" site-lisp-base))
+(add-to-list 'load-path (expand-file-name "weblorg" site-lisp-base))
+(add-to-list 'load-path (expand-file-name "templatel" site-lisp-base))
(require 'htmlize)
(require 'weblorg)