From 7176f39415e59a5f6e25ac91452c8380d989fc77 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Thu, 2 Nov 2023 13:47:34 +0100 Subject: [PATCH] * (completion-preview-mode): Simplify mode line lighter --- completion-preview.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/completion-preview.el b/completion-preview.el index 36ffb6e..9f26653 100644 --- a/completion-preview.el +++ b/completion-preview.el @@ -165,9 +165,7 @@ Compatibility definition for `minibuffer--sort-by-length-alpha'." ;;;###autoload (define-minor-mode completion-preview-mode "Show in-buffer completion preview as you type." - :lighter (:propertize " CP" - help-echo "Completion Preview" - mouse-face mode-line-highlight) + :lighter " CP" (if completion-preview-mode (add-hook 'post-command-hook #'completion-preview--post-command nil t) (remove-hook 'post-command-hook #'completion-preview--post-command t) -- 2.39.2