Add workarounds for Emacs 29

This commit is contained in:
coolneng 2021-12-07 11:06:27 +01:00
parent aaa86d9c85
commit de6d7baf04
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 (setq doom-modeline-major-mode-icon t
doom-modeline-persp-name t doom-modeline-persp-name t
doom-modeline-buffer-encoding nil) doom-modeline-buffer-encoding nil)
;; HACK Emacs 29 modeline font workaround
(set-face-attribute 'mode-line nil :family "Iosevka Medium" :height 180)
(set-face-attribute 'mode-line-inactive nil :family "Iosevka Medium" :height 180)
;; Hide direnv environment variables popup ;; Hide direnv environment variables popup
(setq direnv-always-show-summary nil) (setq direnv-always-show-summary nil)
;; Change splash-screen banner ;; Change splash-screen banner

View File

@ -75,3 +75,6 @@
"--header-insertion=never" "--header-insertion=never"
"--header-insertion-decorators=0")) "--header-insertion-decorators=0"))
(after! lsp-clangd (set-lsp-priority! 'clangd 2)) (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)