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

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

[elpa] externals/vertico 46f4d31e3a 3/3: Remove superfluous or


From: ELPA Syncer
Subject: [elpa] externals/vertico 46f4d31e3a 3/3: Remove superfluous or
Date: Wed, 8 Nov 2023 12:59:25 -0500 (EST)

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

    Remove superfluous or
---
 vertico.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/vertico.el b/vertico.el
index 498c696a82..2d8a0c1b15 100644
--- a/vertico.el
+++ b/vertico.el
@@ -320,10 +320,10 @@ The function is configured by BY, BSIZE, BINDEX, BPRED 
and PRED."
                (after (substring content pt))
                ;; bug#47678: `completion-boundaries' fails for 
`partial-completion'
                ;; if the cursor is moved between the slashes of "~//".
-               ;; See also marginalia.el which has the same issue.
-               (bounds (or (condition-case nil
-                               (completion-boundaries before table pred after)
-                             (t (cons 0 (length after))))))
+               ;; See also corfu.el which has the same issue.
+               (bounds (condition-case nil
+                           (completion-boundaries before table pred after)
+                         (t (cons 0 (length after)))))
                (field (substring content (car bounds) (+ pt (cdr bounds))))
                ;; `minibuffer-completing-file-name' has been obsoleted by the 
completion category
                (completing-file (eq 'file (vertico--metadata-get 'category)))



reply via email to

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