aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/early-init.el
blob: e7a3e7573a45659dc89d963c4a361913b65d1de7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;;; early-init.el --- My custom early-init.el
;; Author: Aryadev Chavali <aryadev@aryadevchavali.com
;; This file is NOT part of GNU Emacs.
;;; Code:

(setq gc-cons-threshold most-positive-fixnum
      package-enable-at-startup nil
      frame-inhibit-implied-resize nil
      frame-resize-pixelwise t
      native-comp-async-jobs-number 4
      native-comp-eln-load-path (list (concat user-emacs-directory ".local/native-compile"))
      native-comp-always-compile nil
      native-comp-async-report-warnings-errors 'silent)

(push '(menu-bar-lines . 0) default-frame-alist)
(push '(tool-bar-lines . 0) default-frame-alist)
(push '(vertical-scroll-bars) default-frame-alist)
(push '(alpha . 90) default-frame-alist)
(advice-add #'x-apply-session-resources :override #'ignore)