about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-11-22T23·21+0100
committertazjin <mail@tazj.in>2020-11-22T23·26+0000
commit312d76acba238d448112e3223fda1e9c5560be6c (patch)
tree22cf0d12ce9681f4763fb2cbd0e5625ce4d55718 /users
parent24f9354d5b8e1521d00f41a7c100b8e9ad327ce7 (diff)
feat(tazjin/emacs): Enable midnight.el r/1911
Change-Id: I22bedd80c6e99ccefefa7840ec37496360937842
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2137
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
Diffstat (limited to 'users')
-rw-r--r--users/tazjin/emacs/config/init.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/users/tazjin/emacs/config/init.el b/users/tazjin/emacs/config/init.el
index 258f7ead435e..9af76bd050bf 100644
--- a/users/tazjin/emacs/config/init.el
+++ b/users/tazjin/emacs/config/init.el
@@ -6,7 +6,6 @@
 (require 'use-package)
 (require 'seq)
 
-
 ;; TODO(tazjin): Figure out what's up with vc.
 ;;
 ;; Leaving vc enabled breaks all find-file operations with messages
@@ -257,6 +256,10 @@
 (use-package web-mode)
 (use-package yaml-mode)
 
+;; Initialise midnight.el, which by default automatically cleans up
+;; unused buffers at midnight.
+(require 'midnight)
+
 (defgroup tazjin nil
   "Settings related to my configuration")