diff options
Diffstat (limited to 'tw')
-rw-r--r-- | tw/home.scm | 1 | ||||
-rw-r--r-- | tw/home/files/emacs-init.el | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tw/home.scm b/tw/home.scm index 91afa373..ee72b669 100644 --- a/tw/home.scm +++ b/tw/home.scm @@ -329,6 +329,7 @@ ;; Emacs general emacs emacs-use-package + emacs-gcmh emacs-eglot emacs-counsel emacs-counsel-dash sqlite ; emacs-counsel-dash requires the sqlite3 binary diff --git a/tw/home/files/emacs-init.el b/tw/home/files/emacs-init.el index 38eb358c..4e405cf5 100644 --- a/tw/home/files/emacs-init.el +++ b/tw/home/files/emacs-init.el @@ -121,6 +121,12 @@ If CREATE is true and the resulting directory does not exist, create it." ;; Some packages below have `:commands (...) :demand t'. ;; We need :commands for the byte-compiler, but we want to load the package immediately. +(use-package gcmh ; "garbage collector magic hack": run GC when not in focus + :config (gcmh-mode +1) + :custom + (gcmh-verbose t "Show an informative message when garbage collecting.") + :diminish gcmh-mode) + ;; Look and feel (set-face-attribute 'default nil :family "Hermit" :height 100) ;; For some reason, Emacs doesn't detect italic support, and falls back to |