diff options
| author | jdlugosz963 <jdlugosz963@gmail.com> | 2024-04-26 18:21:56 +0200 |
|---|---|---|
| committer | jdlugosz963 <jdlugosz963@gmail.com> | 2024-04-27 18:20:11 +0200 |
| commit | 73af89d935df5a8166114c9257f9f247f29850bf (patch) | |
| tree | c8addfe86575b030ca5a61644dbc77adb8f63c43 /.emacs.d/init.el | |
| parent | 9ca1ae3ceca5944765af94514e75a96195de5716 (diff) | |
| download | dotfiles-73af89d935df5a8166114c9257f9f247f29850bf.tar.gz dotfiles-73af89d935df5a8166114c9257f9f247f29850bf.zip | |
Migrate from stumpwm to sway and from manifests to home-services.
Diffstat (limited to '.emacs.d/init.el')
| -rwxr-xr-x | .emacs.d/init.el | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 96b81da..a0cb8a0 100755 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el | |||
| @@ -3,7 +3,13 @@ | |||
| 3 | 3 | ||
| 4 | ;;; Code: | 4 | ;;; Code: |
| 5 | 5 | ||
| 6 | (setq gc-cons-threshold (* 50 1000 1000)) | 6 | ;; Minimize garbage collection during startup |
| 7 | (setq gc-cons-threshold most-positive-fixnum) | ||
| 8 | |||
| 9 | ;; Lower threshold back to 8 MiB (default is 800kB) | ||
| 10 | (add-hook 'emacs-startup-hook | ||
| 11 | (lambda () | ||
| 12 | (setq gc-cons-threshold (expt 2 23)))) | ||
| 7 | 13 | ||
| 8 | (defvar jd/manifest-list | 14 | (defvar jd/manifest-list |
| 9 | nil | 15 | nil |
| @@ -119,7 +125,7 @@ | |||
| 119 | (when jd/exwm-p | 125 | (when jd/exwm-p |
| 120 | (require 'jd-exwm)) | 126 | (require 'jd-exwm)) |
| 121 | 127 | ||
| 122 | (setq gc-cons-threshold (* 2 1000 1000)) | 128 | ;; (setq gc-cons-threshold (* 2 1000 1000)) |
| 123 | 129 | ||
| 124 | ;;; init.el ends here | 130 | ;;; init.el ends here |
| 125 | (put 'upcase-region 'disabled nil) | 131 | (put 'upcase-region 'disabled nil) |
