summaryrefslogtreecommitdiff
path: root/helm-regexp.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2016-03-05 10:07:59 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2016-03-05 10:07:59 +0100
commitd8bd81a8c31882f1f8c426ee83c969b1eb874e3d (patch)
tree3dcbf686b6d623b765830c55f291c0522dc29d5a /helm-regexp.el
parent2a9eb01c5491140df694277b8e90cd45e429cf3f (diff)
Handle multi match in helm-moccur-mode revert fn.
* helm-regexp.el (helm-moccur-mode--revert-buffer-function): Do it.
Diffstat (limited to 'helm-regexp.el')
-rw-r--r--helm-regexp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-regexp.el b/helm-regexp.el
index 9d865b62..c1acc30f 100644
--- a/helm-regexp.el
+++ b/helm-regexp.el
@@ -533,7 +533,7 @@ Special commands:
"\n")
(goto-char (point-min))
(cl-loop with helm-pattern = pattern
- while (re-search-forward pattern nil t)
+ while (helm-mm-search pattern)
for line = (helm-moccur-get-line (point-at-bol) (point-at-eol))
when line
do (with-current-buffer buffer