Kill some emacsclient buffers on close #492 #606

This allows git commit buffers and some other buffers opened by
emacsclient to close on "C-x #".
This commit is contained in:
Herbert Jones 2015-03-01 15:53:06 -06:00 committed by syl20bnr
parent dda1e8de86
commit 3cd5b2f90a

View file

@ -222,6 +222,8 @@ Can be installed with `brew install trash'."
;; keep buffers opened when leaving an emacs client
(setq server-kill-new-buffers nil)
;; Kill magit temp buffers when done with them
(setq server-temp-file-regexp "^/tmp/Re\\|/draft\\|COMMIT_EDITMSG$")
;; increase memory threshold for GC
(setq gc-cons-threshold 20000000)