Permalink
Browse files

* helm-regexp.el: Add history to multi occur.

  • Loading branch information...
thierryvolpiatto committed Aug 21, 2012
1 parent 517b729 commit 5d07ff942266d50aac1c5c56bf3406be64b7854c
Showing with 4 additions and 1 deletion.
  1. +4 −1 helm-regexp.el
View
@@ -211,6 +211,7 @@ i.e Don't replace inside a word, regexp is surrounded with \\bregexp\\b."
(recenter)
(mode-line . helm-occur-mode-line)
(keymap . ,helm-occur-map)
+ (history . ,'helm-c-grep-history)
(requires-pattern . 3)
(delayed)))
@@ -278,6 +279,7 @@ arg METHOD can be one of buffer, buffer-other-window, buffer-other-frame."
(candidate-number-limit . 9999)
(mode-line . helm-moccur-mode-line)
(keymap . ,helm-c-moccur-map)
+ (history . ,'helm-c-grep-history)
(requires-pattern . 3)
(delayed . ,helm-m-occur-idle-delay))
"Helm source for multi occur.")
@@ -306,7 +308,8 @@ arg METHOD can be one of buffer, buffer-other-window, buffer-other-frame."
"Main function to call `helm-c-source-moccur' with BUFFERS list."
(declare (special buffers))
(helm :sources 'helm-c-source-moccur
- :buffer "*helm multi occur*"))
+ :buffer "*helm multi occur*"
+ :history 'helm-c-grep-history))
;;; Helm browse code.

0 comments on commit 5d07ff9

Please sign in to comment.