diff options
| author | bard <[email protected]> | 2024-01-28 14:16:56 -0500 |
|---|---|---|
| committer | bard <[email protected]> | 2024-01-28 14:16:56 -0500 |
| commit | 76c629cddabb7fbd1fb35566c7f71e46442cbae7 (patch) | |
| tree | d43d2daaada51657e54073c2b4bc672d3f5275b0 /bard-emacs-modules | |
| parent | 097862a265b1a63a7cf6a903260aabf0e5c8eacd (diff) | |
changed hook synonym to correct
Diffstat (limited to 'bard-emacs-modules')
| -rw-r--r-- | bard-emacs-modules/bard-emacs-modeline.el | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/bard-emacs-modules/bard-emacs-modeline.el b/bard-emacs-modules/bard-emacs-modeline.el index 573883f..c36755c 100644 --- a/bard-emacs-modules/bard-emacs-modeline.el +++ b/bard-emacs-modules/bard-emacs-modeline.el @@ -1,4 +1,4 @@ -3;;; bard-emacs-modeline.el --- My customizations for the Emacs Modeline -*- lexical-binding: t -*- +;;; bard-emacs-modeline.el --- My customizations for the Emacs Modeline -*- lexical-binding: t -*- ;; Author: BardofSprites ;; Maintainer: BardofSprites @@ -32,7 +32,6 @@ ;; Face customization - (defun bard/modus-themes-faces () (modus-themes-with-colors (custom-set-faces @@ -40,18 +39,16 @@ (custom-set-faces `(mode-line-inactive ((t :background ,bg-magenta-nuanced :foreground ,fg-dim :box ,border)))))) -(add-hook 'modus-themes-post-load-hook #'bard/modus-themes-faces) +(add-hook 'modus-themes-after-load-theme-hook #'bard/modus-themes-faces) ;;; Mode line (setq mode-line-compact nil) ; Emacs 28 -(setq mode-line-right-align-edge 'right-margin) ; Emacs 30 (setq-default mode-line-format '("%e" - prot-modeline-kbd-macro + " " prot-modeline-narrow prot-modeline-buffer-status prot-modeline-input-method - prot-modeline-evil prot-modeline-buffer-identification " " prot-modeline-major-mode @@ -59,11 +56,8 @@ " " prot-modeline-vc-branch " " - prot-modeline-eglot - " " prot-modeline-flymake " " - mode-line-format-right-align ; Emacs 30 prot-modeline-notmuch-indicator " " prot-modeline-misc-info)) |
