summaryrefslogtreecommitdiff
path: root/emacs/early-init.el
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2021-11-13 14:44:54 +0000
committerGrégoire Duchêne <gduchene@awhk.org>2021-11-13 14:58:18 +0000
commit842cb58dec64c723704fec93b3f9827db6518e6e (patch)
tree90bfef3ac354cb5b11922c6311aff97d18ea064f /emacs/early-init.el
parente61588aa59ece88fe646c41d4d3da97c0e8a4e55 (diff)
emacs: Move GUI customization to early-init.el
This seems to fix most “flickering” issues seen on macOS.
Diffstat (limited to 'emacs/early-init.el')
-rw-r--r--emacs/early-init.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/emacs/early-init.el b/emacs/early-init.el
index 3f6c25f..edead3f 100644
--- a/emacs/early-init.el
+++ b/emacs/early-init.el
@@ -1 +1,7 @@
-(setq gc-cons-threshold (* 50 1024 1024))
+(setq default-frame-alist '((height . 40) (left . 0.5) (top . 0.2) (width . 160))
+ gc-cons-threshold (* 50 1024 1024))
+
+(menu-bar-mode -1)
+(scroll-bar-mode -1)
+(show-paren-mode 1)
+(tool-bar-mode -1)