diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2014-05-27 07:56:24 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2014-05-27 07:56:24 +0200 |
commit | 0efbacd12e63403aff5904ba52a41b1f7b24b06c (patch) | |
tree | e87d99807c8f0ded6d2d34506ce025656276c030 /helm-regexp.el | |
parent | d8cfb7576690aa141f3f8a6edfa8d0b8c87e5f85 (diff) |
* helm-regexp.el (helm-moccur-save-results-1): Save helm-multi-occur-buffer-list in the mode.
(helm-moccur-mode): do it.
Diffstat (limited to 'helm-regexp.el')
-rw-r--r-- | helm-regexp.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/helm-regexp.el b/helm-regexp.el index 930d004e..cee58b39 100644 --- a/helm-regexp.el +++ b/helm-regexp.el @@ -356,7 +356,6 @@ Same as `helm-moccur-goto-line' but go in new frame." do (setq new-buf (read-string "OccurBufferName: " "*hmoccur "))) (setq buf new-buf)) (with-current-buffer (get-buffer-create buf) - (make-local-variable 'helm-multi-occur-buffer-list) (setq buffer-read-only t) (let ((inhibit-read-only t)) (erase-buffer) @@ -376,6 +375,8 @@ Same as `helm-moccur-goto-line' but go in new frame." Special commands: \\{helm-moccur-mode-map}" + (set (make-local-variable 'helm-multi-occur-buffer-list) + (with-helm-buffer helm-multi-occur-buffer-list)) (set (make-local-variable 'revert-buffer-function) #'helm-moccur-mode--revert-buffer-function)) |