summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/init.org11
-rw-r--r--tag-git/config/git/config4
2 files changed, 8 insertions, 7 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index f071731..c13011c 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -1383,15 +1383,16 @@ works really nicely.
 #+BEGIN_SRC emacs-lisp
   (use-package ledger-mode
     :mode ("\\.ledger\\'" . ledger-mode)
+    :init (progn
+            (defun open-budget ()
+              (interactive)
+              (projectile-persp-switch-project "~/Sync")
+              (find-file (expand-file-name "ledger/my.ledger" (projectile-project-root)))
+              (ledger-report "Budget (Cumulative)" nil)))
     :config (progn
               (defun setup-ledger-mode ()
                 (setq-local indent-tabs-mode nil))
               (add-hook 'ledger-mode-hook #'setup-ledger-mode)
-              (defun open-budget ()
-                (interactive)
-                (projectile-persp-switch-project "~/Sync")
-                (find-file (expand-file-name "ledger/my.ledger" (projectile-project-root)))
-                (ledger-report "Budget (Cumulative)" nil))
               (setq ledger-use-iso-dates t
                     ledger-post-use-completion-engine :built-in
                     ledger-reconcile-default-commodity "€"
diff --git a/tag-git/config/git/config b/tag-git/config/git/config
index 3d6b82a..6228a08 100644
--- a/tag-git/config/git/config
+++ b/tag-git/config/git/config
@@ -1,5 +1,5 @@
 [user]
-	email = alan@alanpearce.co.uk
+	email = alan@alanpearce.uk
 	name = Alan Pearce
 [color]
 	branch = auto
@@ -21,7 +21,7 @@
 	pr = pull-request
 	delete-merged = "!sh -c 'git branch --merged | grep -v "\\*" | grep -v master | grep -v dev | xargs -n 1 git branch -d'"
 [github]
-	user = alan@alanpearce.co.uk
+	user = alan@alanpearce.uk
 [diff]
 	algorithm = patience
 [include]