emacs/early-init.el

21 lines
735 B
EmacsLisp
Raw Permalink Normal View History

2025-12-27 23:46:15 -06:00
;; Turn off gc during startup.
(setq gc-cons-threshhold most-positive-fixnum)
;; Put gc back.
(add-hook 'emacs-startup-hook
(lambda () (setq gc-cons-threshold 10000000)))
;; Turn off annoying logs.
(setq byte-compile-warnings '(not obsolete))
(setq warning-suppress-log-types '((comp) (bytecomp)))
(setq native-comp-async-report-warnings-errors 'silent)
(setq inhibit-startup-echo-area-message (user-login-name))
(setq frame-resize-pixelwise t)
(tool-bar-mode -1)
(menu-bar-mode -1)
(setq default-frame-alist '((fullscreen . maximized)
(background-color . "#000000")
(ns-appearance . dark)
(ns-transparent-titlebar . t)))