diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2013-03-20 20:12:55 +0100 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2013-03-20 20:12:55 +0100 |
commit | 05340da0afb9763048c5e5acb73aec1fec440303 (patch) | |
tree | 30957a149fa6e2f98c23f1c7782e45614f1dc29c /helm-tags.el | |
parent | e2d112bf6c56b72d5e4ff7e0294a26d0f25d223a (diff) |
* 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.
Diffstat (limited to 'helm-tags.el')
-rw-r--r-- | helm-tags.el | 1 |
1 files changed, 1 insertions, 0 deletions
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)) |