From 05566c55edc0d1bbfadc70cc3a1fd44c79f793ca Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 7 Dec 2021 11:06:27 +0100 Subject: [PATCH] Add workarounds for Emacs 29 --- +ui.el | 3 +++ config.el | 3 +++ 2 files changed, 6 insertions(+) diff --git a/+ui.el b/+ui.el index d71c737..fef7a24 100644 --- a/+ui.el +++ b/+ui.el @@ -14,6 +14,9 @@ (setq doom-modeline-major-mode-icon t doom-modeline-persp-name t doom-modeline-buffer-encoding nil) +;; HACK Emacs 29 modeline font workaround +(set-face-attribute 'mode-line nil :family "Iosevka Medium" :size 26) +(set-face-attribute 'mode-line-inactive nil :family "Iosevka Medium" :size 26) ;; Hide direnv environment variables popup (setq direnv-always-show-summary nil) ;; Change splash-screen banner diff --git a/config.el b/config.el index f94bcc1..6bdca5b 100644 --- a/config.el +++ b/config.el @@ -75,3 +75,6 @@ "--header-insertion=never" "--header-insertion-decorators=0")) (after! lsp-clangd (set-lsp-priority! 'clangd 2)) +;; HACK Workaround for Emacs 29 +(general-auto-unbind-keys :off) +(remove-hook 'doom-after-init-modules-hook #'general-auto-unbind-keys)