[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm d1ff77b745 1/2: Remove an unneeded pcase-let
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm d1ff77b745 1/2: Remove an unneeded pcase-let |
Date: |
Wed, 8 Mar 2023 05:00:25 -0500 (EST) |
branch: elpa/helm
commit d1ff77b7459b43a1ced345690784e18c128fea4a
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Remove an unneeded pcase-let
---
helm-mode.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/helm-mode.el b/helm-mode.el
index 08ef14cb0d..c57ac6484c 100644
--- a/helm-mode.el
+++ b/helm-mode.el
@@ -1060,9 +1060,9 @@ This handler uses dynamic matching which allows honouring
`completion-styles'."
(memq helm-completion-style '(helm
helm-fuzzy))
(list default))
(helm-completion-in-region--initial-filter
- (pcase-let ((lst (if (and sort-fn (> (length
str) 0))
- (funcall sort-fn all)
- all)))
+ (let ((lst (if (and sort-fn (> (length str) 0))
+ (funcall sort-fn all)
+ all)))
(if (and default afix)
(prog1 (append (list default)
(delete default lst))