2024-07-07 22:09:15 +00:00
|
|
|
(setq gc-cons-threshold (* 128 1024 1024)) ;; 128MiB Increase garbage collection threshold for performance (default 800000)
|
2023-09-08 15:55:56 +00:00
|
|
|
;; Increase amount of data read from processes, default 4k
|
2024-01-27 02:21:09 +00:00
|
|
|
(when (version<= "27.0" emacs-version)
|
2024-07-07 22:09:15 +00:00
|
|
|
(setq read-process-output-max (* 10 1024 1024)) ;; 10MiB
|
2023-09-08 15:55:56 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
;; Suppress warnings
|
|
|
|
(setq byte-compile-warnings '(not obsolete))
|
|
|
|
(setq warning-suppress-log-types '((comp) (bytecomp)))
|
|
|
|
(setq native-comp-async-report-warnings-errors 'silent)
|
|
|
|
|
|
|
|
;; Set up default visual settings
|
|
|
|
(setq frame-resize-pixelwise t)
|
|
|
|
;; Disable toolbar & menubar
|
|
|
|
(menu-bar-mode -1)
|
|
|
|
(when (fboundp 'tool-bar-mode)
|
|
|
|
(tool-bar-mode -1))
|
|
|
|
(when (display-graphic-p)
|
|
|
|
(context-menu-mode +1))
|
|
|
|
|
|
|
|
(setq default-frame-alist '((fullscreen . maximized)
|
|
|
|
(vertical-scroll-bars . nil)
|
|
|
|
(horizontal-scroll-bars . nil)
|
|
|
|
;; Set dark colors in early-init to prevent flashes of white.
|
|
|
|
(background-color . "#000000")))
|