diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-01-26 21:29:17 +0100 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-01-26 21:34:04 +0100 |
commit | 6459cd3828895088408d8c160540ed96f7ae208f (patch) | |
tree | 515629a5a8cbd4b153e2f9061dda3f6b292e0333 /helm-regexp.el | |
parent | 9cd55c6606e0512e4aba661a9506f17ae9376f77 (diff) |
Fix issue when jumping from grep-mode moccur-mode buffers.
* helm-grep.el (helm-grep-mode-jump): Cleanup overlays.
(helm-grep-mode-jump-other-window-1): Same.
(helm-grep-mode-jump-other-window): Same.
* helm-regexp.el (helm-moccur-mode-goto-line): Same.
(helm-moccur-mode-goto-line-ow): Same.
* helm-utils.el (helm-highlight-current-line): Ensure helm is alive before
checking for helm-buffer and source.
Diffstat (limited to 'helm-regexp.el')
-rw-r--r-- | helm-regexp.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helm-regexp.el b/helm-regexp.el index 6d32c5b1..8ce36060 100644 --- a/helm-regexp.el +++ b/helm-regexp.el @@ -439,12 +439,12 @@ Same as `helm-moccur-goto-line' but go in new frame." (defun helm-moccur-mode-goto-line () (interactive) (helm-aif (get-text-property (point) 'helm-realvalue) - (helm-moccur-goto-line it))) + (progn (helm-moccur-goto-line it) (helm-match-line-cleanup-pulse)))) (defun helm-moccur-mode-goto-line-ow () (interactive) (helm-aif (get-text-property (point) 'helm-realvalue) - (helm-moccur-goto-line-ow it))) + (progn (helm-moccur-goto-line-ow it) (helm-match-line-cleanup-pulse)))) (defun helm-moccur-mode-goto-line-ow-forward-1 (arg) (condition-case nil |