From 2b264956597e1a6b3c927e011d9cd9712b3f47ea Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 25 Jul 2016 08:39:18 -0700 Subject: [emacs] add midnight mode to clean up buffers --- emacs.d/init.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'emacs.d') diff --git a/emacs.d/init.el b/emacs.d/init.el index 2148683..32892f1 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -316,6 +316,9 @@ Return the new window for BUFFER." (set-buffer-modified-p nil) (message "File '%s' successfully renamed to '%s'" name (file-name-nondirectory new-name)))))))) +;; clean up buffers once in a while +(require 'midnight) + ;; start the server if not already running (require 'server) (unless (server-running-p) -- cgit 1.4.1