From 3ee83cc4e15276f94424ce524f64f1458feab5a2 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 | 4 ++++ config.el | 3 +++ 2 files changed, 7 insertions(+) diff --git a/+ui.el b/+ui.el index d71c737..bb74c63 100644 --- a/+ui.el +++ b/+ui.el @@ -14,6 +14,10 @@ (setq doom-modeline-major-mode-icon t doom-modeline-persp-name t doom-modeline-buffer-encoding nil) +;; HACK Emacs 29 modeline font workaround +(after! doom-modeline + (set-face-attribute 'mode-line nil :family "Iosevka Medium" :height 190) + (set-face-attribute 'mode-line-inactive nil :family "Iosevka Medium" :height 190)) ;; 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)