diff options
| author | fpi | 2021-01-21 16:00:07 +0100 | 
|---|---|---|
| committer | fpi | 2022-03-17 14:37:56 +0100 | 
| commit | b9cb7037b581f1ea35d0948c9c27b0d28fdd06ef (patch) | |
| tree | 9febae889f08dc48288830fbad6c5f85bed16114 | |
| parent | Add spray for speed reading (diff) | |
Add garbage collection settings
| -rw-r--r-- | emacs-init.org | 11 | 
1 files changed, 10 insertions, 1 deletions
diff --git a/emacs-init.org b/emacs-init.org index e4e08c4..c4b3f3b 100644 --- a/emacs-init.org +++ b/emacs-init.org @@ -12,6 +12,7 @@    - [[#font][Font]]    - [[#theme--faces][Theme & Faces]]    - [[#user-info][User info]] +  - [[#garbage-collection][Garbage collection]]    - [[#desktop-module][Desktop module]]    - [[#customize][Customize]]    - [[#file-and-input-history][File and input history]] @@ -1670,7 +1671,15 @@ Set ~user-full-name~ and ~user-mail-address~. These are set in  (setq user-full-name private/user-full-name        user-mail-address private/user-mail-address)  #+end_src - +** Garbage collection +Give a message when Emacs does garbage collection and increase the thresholds for triggering it. +#+begin_src emacs-lisp +(use-package emacs +  :custom +  (garbage-collection-messages t) +  (gc-cons-threshold 800000000) +  (gc-cons-percentage 0.3)) +#+end_src  ** Desktop module  This saves the state emacs was in.  #+begin_src emacs-lisp  | 
