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

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

[elpa] externals/vertico 94d9c4c 28/48: use literals


From: Stefan Monnier
Subject: [elpa] externals/vertico 94d9c4c 28/48: use literals
Date: Mon, 5 Apr 2021 10:54:44 -0400 (EDT)

branch: externals/vertico
commit 94d9c4c1a845bf9b73425b32ef11eea2044fb4af
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    use literals
---
 minicomp.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/minicomp.el b/minicomp.el
index cda90ce..c650f37 100644
--- a/minicomp.el
+++ b/minicomp.el
@@ -289,12 +289,12 @@
             candidates)))
          (max-width (- (* 2 (window-width)) 5))
          (title)
-         (formatted (propertize " " 'cursor t))
+         (formatted #(" " 0 1 (cursor t)))
          (group (completion-metadata-get metadata 'x-group-function)))
     (dolist (ann-cand ann-candidates formatted)
       (setq formatted (concat formatted
                               (if (= index (1+ minicomp--index))
-                                  (propertize "\n" 'face 'minicomp-current)
+                                  #("\n" 0 1 (face minicomp-current))
                                 "\n")))
       (let ((prefix "") (suffix "") (cand))
         (pcase ann-cand



reply via email to

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