aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/early-init.el
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-06-12 02:02:55 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-06-12 02:02:55 +0100
commit42a91ff1208ed6671c8d7fd9f02a13b78b0caccb (patch)
treee22dee5f02ea1818933351532b5817ea03f88443 /Emacs/.config/emacs/early-init.el
parent0b194beae99c71598bc7d8227be934f6db23d108 (diff)
downloaddotfiles-42a91ff1208ed6671c8d7fd9f02a13b78b0caccb.tar.gz
dotfiles-42a91ff1208ed6671c8d7fd9f02a13b78b0caccb.tar.bz2
dotfiles-42a91ff1208ed6671c8d7fd9f02a13b78b0caccb.zip
(Emacs/early-init)~setq-default instead of individual pushes
Does it in one step rather than multiple.
Diffstat (limited to 'Emacs/.config/emacs/early-init.el')
-rw-r--r--Emacs/.config/emacs/early-init.el14
1 files changed, 10 insertions, 4 deletions
diff --git a/Emacs/.config/emacs/early-init.el b/Emacs/.config/emacs/early-init.el
index 21680be..f006057 100644
--- a/Emacs/.config/emacs/early-init.el
+++ b/Emacs/.config/emacs/early-init.el
@@ -32,8 +32,14 @@
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 80)) default-frame-alist)
+(setq-default
+ default-frame-alist '((menu-bar-lines . 0)
+ (tool-bar-lines . 0)
+ (tab-bar-lines . 0)
+ (scroll-bar-lines . 0)
+ (left-fringe . 0)
+ (right-fringe . 0)
+ (alpha . (90 80))))
+(scroll-bar-mode -1)
+
(advice-add #'x-apply-session-resources :override #'ignore)