summaryrefslogtreecommitdiff
path: root/helm-multi-match.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2015-09-17 13:02:23 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2015-09-17 13:02:23 +0200
commit3ea907c51fc798dd67b205ab450e7ea8600957d4 (patch)
treebfe3039c4090793264be5d67b73e37f5483e26f7 /helm-multi-match.el
parent37b743c7e36dfe3953d205e4d9d0471859a5115f (diff)
Rename functions.
* helm-multi-match.el (helm-mm-migemo-string-match): Renamed from helm-string-match-with-migemo. (helm-mm-3-migemo-match): Renamed from helm-mm-3migemo-match. (helm-mm-3-migemo-search): Renamed from helm-mm-3migemo-search.
Diffstat (limited to 'helm-multi-match.el')
-rw-r--r--helm-multi-match.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/helm-multi-match.el b/helm-multi-match.el
index 003816ff..872a46a6 100644
--- a/helm-multi-match.el
+++ b/helm-multi-match.el
@@ -260,18 +260,18 @@ i.e (identity (re-search-forward \"foo\" (point-at-eol) t)) => t."
(declare-function migemo-get-pattern "ext:migemo.el")
-(cl-defun helm-string-match-with-migemo (str &optional (pattern helm-pattern))
+(cl-defun helm-mm-migemo-string-match (str &optional (pattern helm-pattern))
"Migemo version of `string-match'."
(unless (string= pattern (car-safe helm-mm--previous-migemo-info))
(setq helm-mm--previous-migemo-info
(cons pattern (migemo-get-pattern pattern))))
(string-match (cdr helm-mm--previous-migemo-info) str))
-(cl-defun helm-mm-3migemo-match (str &optional (pattern helm-pattern))
+(cl-defun helm-mm-3-migemo-match (str &optional (pattern helm-pattern))
(cl-loop for (pred . re) in (helm-mm-3-get-patterns pattern)
- always (funcall pred (helm-string-match-with-migemo str re))))
+ always (funcall pred (helm-mm-migemo-string-match str re))))
-(defun helm-mm-3migemo-search (pattern &rest _ignore)
+(defun helm-mm-3-migemo-search (pattern &rest _ignore)
(helm-mm-3-search-base pattern 'migemo-forward 'migemo-forward))