aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/modes/beancount.el
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2019-06-23 11:43:30 -0700
committerRaúl Benencia <rul@kalgan.cc>2019-06-23 13:32:01 -0700
commit284c8327c95bb0c71b111ebf95723a35a478295c (patch)
treefaea9db4b1bba00d73d33b2065ed102f88b76b2c /.emacs.local.d/modes/beancount.el
Add emacs config
Diffstat (limited to '.emacs.local.d/modes/beancount.el')
-rw-r--r--.emacs.local.d/modes/beancount.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/.emacs.local.d/modes/beancount.el b/.emacs.local.d/modes/beancount.el
new file mode 100644
index 0000000..ca5c7c6
--- /dev/null
+++ b/.emacs.local.d/modes/beancount.el
@@ -0,0 +1,5 @@
+(require 'beancount)
+
+;; Automatically open .beancount files in beancount-mode.
+(add-to-list 'auto-mode-alist '("\\.beancount$" . beancount-mode))
+
nihil fit ex nihilo