20 lines
735 B
EmacsLisp
20 lines
735 B
EmacsLisp
;; 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)))
|