Permalink
Browse files

* helm.el (helm-get-candidates): Don't use while-no-input when filter…

…ing.
  • Loading branch information...
1 parent d9b0df9 commit ddc8425fd2401c366c9f781cf759f4de9448c38f @thierryvolpiatto thierryvolpiatto committed Dec 7, 2012
Showing with 1 addition and 8 deletions.
  1. +1 −8 helm.el
View
@@ -1820,14 +1820,7 @@ Helm plug-ins are realized by this function."
((listp candidates)
;; Filter candidates now with either `candidate-transformer'
;; or `filtered-candidate-transformer' function.
- (if helm-force-updating-p
- (helm-transform-candidates candidates source)
- (let* ((transformed-lst (while-no-input
- (helm-transform-candidates
- candidates source))))
- ;; `while-no-input' may return t or nil if user enter
- ;; input or C-g, so return the list or nil but never t.
- (and (consp transformed-lst) transformed-lst))))
+ (helm-transform-candidates candidates source))
(t (funcall type-error)))))
(defun helm-get-cached-candidates (source)

0 comments on commit ddc8425

Please sign in to comment.