diff options
author | Thierry Volpiatto <thievol@posteo.net> | 2022-01-03 06:34:15 +0100 |
---|---|---|
committer | Thierry Volpiatto <thievol@posteo.net> | 2022-01-03 06:34:15 +0100 |
commit | 51d91e8a7dbadd138ede237e28a88628cd304484 (patch) | |
tree | acde783fde71dba71069509db28c98bcb6125dee | |
parent | 114b405b2feb7d2d293086802dd3cb4e1522d96d (diff) |
Remove redundant test
-rw-r--r-- | helm-multi-match.el | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/helm-multi-match.el b/helm-multi-match.el index 65dde0b9..eda59f63 100644 --- a/helm-multi-match.el +++ b/helm-multi-match.el @@ -255,8 +255,6 @@ i.e (identity (re-search-forward \"foo\" (point-at-eol) t)) => t." finally return nil)) (defun helm-mm-3-search (pattern &rest _ignore) - (when (stringp pattern) - (setq pattern (helm-mm-3-get-patterns pattern))) (helm-mm-3-search-base pattern 're-search-forward 're-search-forward)) @@ -337,8 +335,6 @@ E.g. \"bar foo baz\" will match \"barfoobaz\" or \"barbazfoo\" but not always (funcall predicate (string-match regexp candidate)))))) (defun helm-mm-3p-search (pattern &rest _ignore) - (when (stringp pattern) - (setq pattern (helm-mm-3-get-patterns pattern))) (helm-mm-3-search-base pattern 'helm-mm-prefix-search 're-search-forward)) |