added early init from bedrock
This commit is contained in:
parent
32f90568a9
commit
755cc881b7
1 changed files with 24 additions and 0 deletions
24
early-init.el
Normal file
24
early-init.el
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;;;
|
||||||
|
;;; Basic settings for quick startup and convenience
|
||||||
|
;;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
;; Startup speed, annoyance suppression
|
||||||
|
(setq bedrock--initial-gc-threshold gc-cons-threshold)
|
||||||
|
(setq gc-cons-threshold 10000000)
|
||||||
|
(setq byte-compile-warnings '(not obsolete))
|
||||||
|
(setq warning-suppress-log-types '((comp) (bytecomp)))
|
||||||
|
(setq native-comp-async-report-warnings-errors 'silent)
|
||||||
|
|
||||||
|
;; Silence stupid startup message
|
||||||
|
(advice-add #'display-startup-echo-area-message :override #'ignore)
|
||||||
|
|
||||||
|
;; Tell use-package to install if missing by default
|
||||||
|
;; Use `:ensure nil' in packages you *don't* want to install
|
||||||
|
(setq use-package-always-ensure t)
|
||||||
|
|
||||||
|
;; Setting *-resize-pixelwise to `t' lets frames/windows resize
|
||||||
|
;; smoothly at sub-character increments
|
||||||
|
(setq frame-resize-pixelwise t)
|
||||||
|
; (setq window-resize-pixelwise t)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue