diff options
author | David Morgan <djm_uk@protonmail.com> | 2021-08-17 12:49:19 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2021-08-17 12:49:19 +0100 |
commit | d0db5660caa836755ea8c99471d816484ea9e837 (patch) | |
tree | c7d0456a58e450abaf34b489b0b31c58ddbc8557 /.emacs.d/early-init.el | |
parent | c92b18514728245850d31531ce224a74eddfc5a6 (diff) | |
download | dotfiles-d0db5660caa836755ea8c99471d816484ea9e837.tar.gz |
Add new .emacs.d
Diffstat (limited to '.emacs.d/early-init.el')
-rw-r--r-- | .emacs.d/early-init.el | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el new file mode 100644 index 0000000..93e35a2 --- /dev/null +++ b/.emacs.d/early-init.el @@ -0,0 +1,25 @@ +;;; early-init.el --- Early Init File -*- lexical-binding: t -*- +;;; Commentary: +;;; Code: + +(setq gc-cons-threshold most-positive-fixnum + gc-cons-percentage 0.6) + +(push '(menu-bar-lines . 0) default-frame-alist) +(push '(tool-bar-lines . 0) default-frame-alist) +(push '(vertical-scroll-bars) default-frame-alist) +(when (featurep 'ns) + (push '(ns-transparent-titlebar . t) default-frame-alist)) + +(setq frame-inhibit-implied-resize t) + +(menu-bar-mode -1) +(tool-bar-mode -1) +(scroll-bar-mode -1) +(horizontal-scroll-bar-mode -1) + +(setq package-enable-at-startup nil) + +; (setq comp-deferred-compilation nil) + +;;; early-init.el ends here |