[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico bf76000 06/11: Rename vertico--pred to vertico-
From: |
Protesilaos Stavrou |
Subject: |
[elpa] externals/vertico bf76000 06/11: Rename vertico--pred to vertico--sort-predicate |
Date: |
Thu, 8 Apr 2021 07:11:16 -0400 (EDT) |
branch: externals/vertico
commit bf7600075729a1b692fe122fac0a1d26e8c1fda9
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Rename vertico--pred to vertico--sort-predicate
---
vertico.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vertico.el b/vertico.el
index af778fd..0a23876 100644
--- a/vertico.el
+++ b/vertico.el
@@ -136,7 +136,7 @@
(defvar-local vertico--keep nil
"Keep current candidate index `vertico--index'.")
-(defun vertico--pred (x y)
+(defun vertico--sort-predicate (x y)
"Sorting predicate which compares X and Y."
(or (< (cdr x) (cdr y))
(and (= (cdr x) (cdr y))
@@ -194,7 +194,7 @@
(+ (lsh (gethash (car cand) vertico--history-hash
#xFFFF) 13)
(length (car cand)))))
(setq cand (cdr cand))))
- (setq candidates (sort candidates #'vertico--pred))
+ (setq candidates (sort candidates #'vertico--sort-predicate))
;; Drop decoration from the candidates
(let ((cand candidates))
(while cand
- [elpa] externals/vertico updated (1a9b1b2 -> 82ed224), Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico d65eeac 04/11: vertico--recompute-candidates: Move exact input and default to front, Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico ee77886 01/11: Expand README, Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico c734b0f 02/11: Minor simplification and docstring updates, Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico d9bb816 09/11: README: Mention a few more useful configurations, Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico 403e154 05/11: Fix #2 - Screenshot background, Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico edf6a06 08/11: Do not always overwrite resize-mini-windows (See #5), Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico bf76000 06/11: Rename vertico--pred to vertico--sort-predicate,
Protesilaos Stavrou <=
- [elpa] externals/vertico 1522d9a 07/11: Extract vertico--file-predicate, Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico 953ff1e 10/11: README: Document keymap, Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico 82ed224 11/11: Package: Remove license header in order to fix the ELPA linter, Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico a68f4cf 03/11: vertico--format-candidates: Only add space for point if eobp, Protesilaos Stavrou, 2021/04/08