aboutsummaryrefslogtreecommitdiff
path: root/nix/users/fcuny/configs/emacs/early-init.el
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-04-29 10:22:16 -0700
committerFranck Cuny <franck@fcuny.net>2025-04-29 10:22:16 -0700
commit3dd2a09087192f6c721bb851276a0019c839eded (patch)
treebbe1d873f42a42a2c2eb668c46f64c3446b059e8 /nix/users/fcuny/configs/emacs/early-init.el
parentuse some binary caches (diff)
downloadinfra-3dd2a09087192f6c721bb851276a0019c839eded.tar.gz
initial import of emacs config
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)