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

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

[elpa] externals/vertico 1dc997f 1/3: Requiring orderless only once seem


From: Protesilaos Stavrou
Subject: [elpa] externals/vertico 1dc997f 1/3: Requiring orderless only once seems to fix the issue too
Date: Tue, 4 May 2021 13:50:23 -0400 (EDT)

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

    Requiring orderless only once seems to fix the issue too
---
 vertico.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vertico.el b/vertico.el
index 4a2f416..587419f 100644
--- a/vertico.el
+++ b/vertico.el
@@ -220,9 +220,9 @@
 ;; bug#47711: Deferred highlighting for `completion-all-completions'
 ;; XXX There is one complication: `completion--twq-all' already adds 
`completions-common-part'.
 (declare-function orderless-highlight-matches "ext:orderless")
+(require 'orderless nil 'noerror)
 (defun vertico--all-completions (&rest args)
   "Compute all completions for ARGS with deferred highlighting."
-  (require 'orderless nil 'noerror)
   (cl-letf* ((orig-pcm (symbol-function #'completion-pcm--hilit-commonality))
              (orig-flex (symbol-function #'completion-flex-all-completions))
              ((symbol-function #'completion-flex-all-completions)



reply via email to

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