From 312d76acba238d448112e3223fda1e9c5560be6c Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 23 Nov 2020 00:21:22 +0100 Subject: feat(tazjin/emacs): Enable midnight.el Change-Id: I22bedd80c6e99ccefefa7840ec37496360937842 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2137 Reviewed-by: tazjin Tested-by: BuildkiteCI --- users/tazjin/emacs/config/init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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") -- cgit 1.4.1