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

[Emacspeak] New Vertico Patch



Howdy,

I'm a bit behind on package updates and emails, but here is another patch for Vertico. verticoâ??allow-prompt is not a buffer local variable, so this patch updates Emacspeak accordingly.

Thanks,

Hunter

From 8253de7a33fe1f47ca8d8c28243d1b0c775527f8 Mon Sep 17 00:00:00 2001
From: Hunter Jozwiak <hunter.t.joz@xxxxxxxxxxx>
Date: Mon, 14 Nov 2022 15:08:50 -0500
Subject: [PATCH] New vertico fix.

vertico--allow-prompt-p is now a buffer local variable.
---
 lisp/emacspeak-vertico.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/emacspeak-vertico.el b/lisp/emacspeak-vertico.el
index 3b4acd42c..be460ea29 100644
--- a/lisp/emacspeak-vertico.el
+++ b/lisp/emacspeak-vertico.el
@@ -61,7 +61,6 @@
 ;;}}}
 ;;{{{
 (declare-function 'vertico--candidate "vertico.el" (&optional hl))
-(declare-function 'vertico--allow-prompt-p "vertico.el" ())
 ;;}}}
 ;;{{{ Advice interactive commands
 
@@ -93,7 +92,7 @@
                 (and (not (equal vertico--index -1))
                      (equal emacspeak-vertico--prev-index -1)))
         (push "candidate" to-speak)))
-    (when (and (not (vertico--allow-prompt-p))
+    (when (and (not vertico--allow-prompt)
                (equal emacspeak-vertico--prev-candidate nil))
       (push "first candidate" to-speak))
     (when to-speak
-- 
2.38.1

Attachment: signature.asc
Description: PGP signature



|May 1995 - Last Year|Current Year|


If you have questions about this archive or had problems using it, please contact us.

Contact Info Page