emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/vertico-posframe 1b14e0c 3/7: * vertico-posframe.el (ve


From: ELPA Syncer
Subject: [elpa] externals/vertico-posframe 1b14e0c 3/7: * vertico-posframe.el (vertico-posframe--display): do not add cursor face.
Date: Fri, 29 Oct 2021 19:57:30 -0400 (EDT)

branch: externals/vertico-posframe
commit 1b14e0c6f3d4b3a5b2e549d3b7ce887b389c286c
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    * vertico-posframe.el (vertico-posframe--display): do not add cursor face.
---
 vertico-posframe.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/vertico-posframe.el b/vertico-posframe.el
index 6021af6..011656b 100644
--- a/vertico-posframe.el
+++ b/vertico-posframe.el
@@ -169,16 +169,14 @@ Optional argument FRAME ."
 (defun vertico-posframe--display (lines)
   "Display LINES in posframe."
   (let ((count (vertico-posframe--format-count))
-        (prompt (minibuffer-prompt))
+        (prompt (propertize (minibuffer-prompt) 'face 'minibuffer-prompt))
         (content (minibuffer-contents))
         (show-minibuffer (vertico-posframe--show-minibuffer-p)))
     (with-current-buffer (get-buffer-create vertico-posframe--buffer)
       (setq-local inhibit-modification-hooks t
                   cursor-in-non-selected-windows 'box)
       (erase-buffer)
-      (insert count prompt content
-              (propertize " " 'face 'vertico-posframe-cursor)
-              "\n" (string-join lines)))
+      (insert count prompt content " \n" (string-join lines)))
     (with-selected-window (vertico-posframe-last-window)
       ;; Create a posframe to cover minibuffer.
       (if show-minibuffer



reply via email to

[Prev in Thread] Current Thread [Next in Thread]