Skip to content
Browse files

* helm.el (helm-match-from-candidates): Add comment about not recompu…

…ting already found candidates.
  • Loading branch information...
1 parent 503a175 commit dde6bc3a301e6904151d4e14839a4a82899dfb1c @thierryvolpiatto thierryvolpiatto committed Nov 26, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 helm.el
View
2 helm.el
@@ -1951,6 +1951,8 @@ and `helm-pattern'."
(helm-accumulate-candidates-internal
candidate newmatches helm-match-hash item-count limit)))
(setq matches (append matches (reverse newmatches)))
+ ;; Don't recompute matches already found by this match function
+ ;; with the next match function.
(setq cands (loop for i in cands unless (member i matches) collect i)))))
(invalid-regexp (setq matches nil)))
matches))

0 comments on commit dde6bc3

Please sign in to comment.
Something went wrong with that request. Please try again.