.emacs.d

the most bloated Emacs config on this planet
git clone https://git.trogloxene.org/.emacs.d.git
Log | Files | Refs

early-init.el (634B)


      1 ;;; early-init.el --- early-init.el -*- lexical-binding: t -*-
      2 
      3 ;;; Commentary:
      4 
      5 ;;; Code:
      6 
      7 ;; from centaur emacs
      8 (if noninteractive
      9     (setq gc-cons-threshold #x8000000
     10           gc-cons-percentage 1.0)
     11   (setq gc-cons-threshold most-positive-fixnum))
     12 
     13 ;; from centaur emacs
     14 (defvar my--file-name-handler-alist file-name-handler-alist)
     15 (setq file-name-handler-alist nil)
     16 
     17 (setq package-enable-at-startup nil)
     18 
     19 (setq inhibit-startup-screen t)
     20 (when (fboundp 'tool-bar-mode)
     21   (tool-bar-mode -1)
     22   (scroll-bar-mode -1))
     23 (menu-bar-mode -1)
     24 
     25 (prefer-coding-system 'utf-8)
     26 
     27 (setq frame-background-mode 'dark)
     28 ;;; early-init.el ends here