From 05340da0afb9763048c5e5acb73aec1fec440303 Mon Sep 17 00:00:00 2001 From: Thierry Volpiatto Date: Wed, 20 Mar 2013 20:12:55 +0100 Subject: * helm-utils.el (helm-goto-line-before-hook): New hook. This hook run when jumping from `helm-goto-line', `helm-etags-default-action', and `helm-imenu-default-action'. (helm-save-pos-before-jump-register) (helm-save-pos-to-register-before-jump) * helm-tags.el (helm-etags-default-action): Use it. * helm-imenu.el (helm-imenu-default-action): Use it. --- helm-tags.el | 1 + 1 file changed, 1 insertion(+) (limited to 'helm-tags.el') diff --git a/helm-tags.el b/helm-tags.el index 048e3dcb..b4bfb81c 100644 --- a/helm-tags.el +++ b/helm-tags.el @@ -207,6 +207,7 @@ If no entry in cache, create one." (defun helm-etags-default-action (candidate) "Helm default action to jump to an etags entry." + (helm-log-run-hook 'helm-goto-line-before-hook) (let* ((split (split-string candidate ": ")) (fname (expand-file-name (car split) helm-etags-tag-file-dir)) -- cgit v1.2.3