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

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

[elpa] externals/corfu 42efcfd28f 3/3: Remove superfluous or


From: ELPA Syncer
Subject: [elpa] externals/corfu 42efcfd28f 3/3: Remove superfluous or
Date: Wed, 8 Nov 2023 12:57:36 -0500 (EST)

branch: externals/corfu
commit 42efcfd28f6286110cc2ba0d90ffd67a81e0667b
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Remove superfluous or
---
 corfu.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/corfu.el b/corfu.el
index 908656a8af..f0d639d221 100644
--- a/corfu.el
+++ b/corfu.el
@@ -601,9 +601,9 @@ FRAME is the existing frame."
                ;; bug#47678: `completion-boundaries' fails for 
`partial-completion'
                ;; if the cursor is moved between the slashes of "~//".
                ;; See also vertico.el which has the same issue.
-               (bounds (or (condition-case nil
-                               (completion-boundaries before table pred after)
-                             (t (cons 0 (length after))))))
+               (bounds (condition-case nil
+                           (completion-boundaries before table pred after)
+                         (t (cons 0 (length after)))))
                (field (substring str (car bounds) (+ pt (cdr bounds))))
                (completing-file (eq (corfu--metadata-get 'category) 'file))
                (`(,all . ,hl) (corfu--filter-completions str table pred pt 
corfu--metadata))



reply via email to

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