Skip to content

Commit

Permalink
remove duplicate extensions properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Le Wang committed Oct 20, 2012
1 parent 1817166 commit 26a0c2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helm-grep.el
Expand Up @@ -558,7 +558,8 @@ These extensions will be added to command line with --include arg of grep."
collect glob into glob-list
finally return (append glob-list
(delete-duplicates
(delq nil (list "*" helm-c-grep-preferred-ext))))))
(delq nil (list "*" helm-c-grep-preferred-ext))
:test 'string=))))

(defun helm-grep-collect-candidates ()
(let* ((helm-c-grep-default-command
Expand Down

0 comments on commit 26a0c2f

Please sign in to comment.