Skip to content

Commit

Permalink
ivy--re-filter-1: Fix string-match-p error
Browse files Browse the repository at this point in the history
  • Loading branch information
kiennq committed Jul 6, 2024
1 parent 3d6c7d9 commit a3701bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ivy.el
Original file line number Diff line number Diff line change
Expand Up @@ -3667,7 +3667,7 @@ this function's default regexp matching behavior."
(pred
(if mkpred
(funcall mkpred re)
(lambda (x) (string-match-p re x)))))
(lambda (x) (ignore-errors (string-match-p re x))))))
(setq candidates
(cl-delete nil candidates
(if (cdr matcher) :if-not :if)
Expand Down

0 comments on commit a3701bb

Please sign in to comment.