Browse Source

beancount fixes

master
Marc 3 years ago
parent
commit
9a388d8e2e
1 changed files with 7 additions and 0 deletions
  1. 7
      init.org

7
init.org

@ -1204,8 +1204,15 @@ deactivate
:defer t
:mode
("\\.beancount$" . beancount-mode)
:hook
(beancount-mode-hook . (lambda () (add-hook 'after-save-hook #'beancount-check nil 'local)))
(after-save #'beancount-check)
:init
(add-hook 'beancount-mode-hook 'company/beancount-mode-hook)
(add-hook 'after-save-hook #'beancount-check)
(add-hook 'beancount-mode-hook
(lambda ()
(add-hook 'after-save-hook #'beancount-check nil 'local)))
; (add-hook 'beancount-mode-hook (pyvenv-activate "/opt/beancount"))
; (setenv "PATH"
; (concat "/opt/beancount/bin:"

Loading…
Cancel
Save