summaryrefslogtreecommitdiff
path: root/helm-mode.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2016-02-01 19:52:21 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2016-02-01 19:52:21 +0100
commit13d8447369eed6a78cf82b09b53efc70d0f045fb (patch)
tree8a9b81f12a4fe3666336dfaea7f1de5163c5b502 /helm-mode.el
parent7a43fe5fd43c17030456d6278f1bb418e13d0652 (diff)
Reverting changes in helm-comp-read (#1366, #1371).
* helm-mode.el (helm-comp-read): Compute the whole collection for now to not break match functions.
Diffstat (limited to 'helm-mode.el')
-rw-r--r--helm-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/helm-mode.el b/helm-mode.el
index 0b01094e..193dc6bc 100644
--- a/helm-mode.el
+++ b/helm-mode.el
@@ -430,7 +430,7 @@ that use `helm-comp-read' See `helm-M-x' for example."
helm-read-file-name-mode-line-string))
(get-candidates (lambda ()
(let ((cands (helm-comp-read-get-candidates
- collection test sort alistp helm-pattern)))
+ collection test sort alistp)))
(setq helm-cr-unknown-pattern-flag nil)
(unless (or (eq must-match t)
(string= helm-pattern "")
@@ -455,7 +455,7 @@ that use `helm-comp-read' See `helm-M-x' for example."
cands))))
(history-get-candidates (lambda ()
(let ((all (helm-comp-read-get-candidates
- history test nil alistp helm-pattern)))
+ history test nil alistp)))
(when all
(delete
""