[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm 1bbe85bc74 2/3: Remove an unneeded helm-aif
|
From: |
ELPA Syncer |
|
Subject: |
[nongnu] elpa/helm 1bbe85bc74 2/3: Remove an unneeded helm-aif |
|
Date: |
Wed, 22 Nov 2023 03:59:46 -0500 (EST) |
branch: elpa/helm
commit 1bbe85bc743ab4a638197cff9a2ec9b4e5268cfc
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Remove an unneeded helm-aif
---
helm-mode.el | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/helm-mode.el b/helm-mode.el
index c933760e88..5620682f70 100644
--- a/helm-mode.el
+++ b/helm-mode.el
@@ -1339,11 +1339,10 @@ handling properties, see `helm-comp-read'.
This handler should be used when candidate list doesn't need to be rebuilt
dynamically otherwise use `helm-completing-read-default-2'."
(let* ((history (or (car-safe hist) hist))
- (initial-input (helm-aif (pcase init
- ((pred (stringp)) init)
- ;; INIT is a cons cell.
- (`(,l . ,_ll) l))
- it))
+ (initial-input (pcase init
+ ((pred (stringp)) init)
+ ;; INIT is a cons cell.
+ (`(,l . ,_ll) l)))
(minibuffer-completion-table collection)
(metadata (or (completion-metadata (or initial-input "") collection
test)
'(metadata)))