From 6459cd3828895088408d8c160540ed96f7ae208f Mon Sep 17 00:00:00 2001 From: Thierry Volpiatto Date: Thu, 26 Jan 2017 21:29:17 +0100 Subject: 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. --- helm-regexp.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helm-regexp.el') 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 -- cgit v1.2.3