Permalink
Browse files

* helm-regexp.el (helm-c-source-moccur): Add persistent action.

  • Loading branch information...
1 parent 43d9989 commit 34b84d3200eb5c08579f7b7cc904a7542d72f19a @thierryvolpiatto thierryvolpiatto committed Aug 22, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 helm-regexp.el
View
@@ -276,6 +276,10 @@ arg METHOD can be one of buffer, buffer-other-window, buffer-other-frame."
(get-line . helm-m-occur-get-line)
(migemo)
(action . (("Go to Line" . helm-m-occur-goto-line)))
+ (persistent-action . (lambda (candidate)
+ (helm-m-occur-goto-line candidate)
+ (helm-match-line-color-current-line)))
+ (persistent-help . "Go to line")
(recenter)
(candidate-number-limit . 9999)
(mode-line . helm-moccur-mode-line)

0 comments on commit 34b84d3

Please sign in to comment.