From 6b1d261cd70cedf0f09c3a9afb23abf5464a6d0c Mon Sep 17 00:00:00 2001 From: Marc Date: Mon, 19 Jun 2023 16:07:28 +0200 Subject: [PATCH] more beancount --- config.org | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index 6d3a731..1cd8a70 100644 --- a/config.org +++ b/config.org @@ -1933,7 +1933,23 @@ echo "shell running!" deactivate #+END_SRC -#+BEGIN_SRC emacs-lisp +#+begin_src emacs-lisp +(use-package beancount + :if *sys/linux* + :load-path "user-global/elisp/" +; :ensure t + :defer t + :mode + ("\\.beancount$" . beancount-mode) + :hook + (beancount-mode . my/beancount-company) + :config + (defun my/beancount-company () + (setq-local completion-at-point-functions #'beancount-completion-at-point)) + (setq beancount-filename-main "/home/marc/Archiv/Finanzen/Transaktionen/transactions.beancount")) + +#+end_src ++BEGIN_SRC emacs-lisp (use-package beancount :if *sys/linux* :load-path "user-global/elisp"