aboutsummaryrefslogtreecommitdiff
path: root/nix/users/fcuny/configs/emacs/early-init.el
diff options
context:
space:
mode:
Diffstat (limited to 'nix/users/fcuny/configs/emacs/early-init.el')
-rw-r--r--nix/users/fcuny/configs/emacs/early-init.el21
1 files changed, 21 insertions, 0 deletions
diff --git a/nix/users/fcuny/configs/emacs/early-init.el b/nix/users/fcuny/configs/emacs/early-init.el
new file mode 100644
index 0000000..55c8728
--- /dev/null
+++ b/nix/users/fcuny/configs/emacs/early-init.el
@@ -0,0 +1,21 @@
+;; Startup speed, annoyance suppression
+(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 startup message
+(setq inhibit-startup-echo-area-message (user-login-name))
+
+;; Default frame configuration: full screen, good-looking title bar on macOS
+(setq frame-resize-pixelwise t)
+
+(tool-bar-mode -1)
+
+(setq default-frame-alist '((fullscreen . maximized)
+ ;; Setting the face in here prevents flashes of
+ ;; color as the theme gets activated
+ (ns-appearance . light)
+ (ns-transparent-titlebar . t)))
+
+(set-face-attribute 'default nil :family "Source Code Pro" :height 150)