diff options
Diffstat (limited to 'bard-elisp')
| -rw-r--r-- | bard-elisp/bard-modeline.el | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/bard-elisp/bard-modeline.el b/bard-elisp/bard-modeline.el index 57855d0..53b0539 100644 --- a/bard-elisp/bard-modeline.el +++ b/bard-elisp/bard-modeline.el @@ -513,29 +513,8 @@ TYPE is usually keyword `:error', `:warning' or `:note'." "Mode line construct displaying `flymake-mode-line-format'. Specific to the current window's mode line.") -;;;; Eglot - -(with-eval-after-load 'eglot - (setq mode-line-misc-info - (delete '(eglot--managed-mode (" [" eglot--mode-line-format "] ")) mode-line-misc-info))) - -(defvar-local prot-modeline-eglot - `(:eval - (when (and (featurep 'eglot) (mode-line-window-selected-p)) - '(eglot--managed-mode eglot--mode-line-format))) - "Mode line construct displaying Eglot information. -Specific to the current window's mode line.") - ;;;; Miscellaneous -(defvar-local prot-modeline-notmuch-indicator - '(notmuch-indicator-mode - (" " - (:eval (when (mode-line-window-selected-p) - notmuch-indicator--counters)))) - "The equivalent of `notmuch-indicator-mode-line-construct'. -Display the indicator only on the focused window's mode line.") - (defvar-local prot-modeline-misc-info '(:eval (when (mode-line-window-selected-p) |
