about summary refs log tree commit diff
path: root/users/sterni/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'users/sterni/emacs/init.el')
-rw-r--r--users/sterni/emacs/init.el13
1 files changed, 13 insertions, 0 deletions
diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el
index 0828e4d77940..08c7aab7188c 100644
--- a/users/sterni/emacs/init.el
+++ b/users/sterni/emacs/init.el
@@ -107,6 +107,19 @@
         org-default-notes-file (concat org-folder "/inbox.org")
         initial-buffer-choice org-default-notes-file))
 
+;; load org-tracker and mutable config on work laptop
+(let ((org-tracker-src (concat (getenv "HOME")
+                               "/src/el/org-tracker")))
+  (when (file-exists-p org-tracker-src)
+    (add-to-list 'load-path org-tracker-src)
+
+    (use-package org-tracker
+      :hook (org-mode . org-tracker-mode)
+      :config
+      (let ((jira-config (concat (getenv "HOME")
+                                 "/.config/emacs-custom/pa-jira.el")))
+        (when (file-exists-p jira-config) (load jira-config))))))
+
 ;; ediff
 ; doesn't create new window for ediff controls which I always open accidentally
 (setq ediff-window-setup-function 'ediff-setup-windows-plain)