Add workarounds for Emacs 29

This commit is contained in:
coolneng 2021-12-07 11:06:27 +01:00
parent aaa86d9c85
commit 77fd7089ca
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 6 additions and 0 deletions

3
+ui.el
View File

@ -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" :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

View File

@ -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)