]> git.eshelyaron.com Git - completion-preview.git/commitdiff
* (completion-preview-mode): Simplify mode line lighter
authorEshel Yaron <me@eshelyaron.com>
Thu, 2 Nov 2023 12:47:34 +0000 (13:47 +0100)
committerEshel Yaron <me@eshelyaron.com>
Thu, 2 Nov 2023 12:47:34 +0000 (13:47 +0100)
completion-preview.el

index 36ffb6ecd7229027e3760a0e150f92f1ad450a9f..9f266537d65a44425bfeaab20aba6fc5f7e88c04 100644 (file)
@@ -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)