diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2012-11-04 19:45:59 +0100 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2012-11-04 19:45:59 +0100 |
commit | f4858cd767e6b7c98a39a1a96fcbf90c3355277c (patch) | |
tree | ea2e2697b73f01b1b29786a37cbcc193457f2961 | |
parent | 32483b971bcb736ffd02ef19183bf8b6ae76a75a (diff) |
* helm.el (helm-execute-selection-action): Fix position in `helm-current-buffer' before executing action.
-rw-r--r-- | helm.el | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2308,6 +2308,9 @@ STRING is the output of PROCESS." (defun helm-execute-selection-action () "Execute current action and kill the action buffer if present." (helm-log-run-hook 'helm-before-action-hook) + ;; Position can be different when `helm-current-buffer' + ;; is splitted, so jump to this position before executing action. + (helm-current-position 'restore) (unwind-protect (helm-execute-selection-action-1) (helm-aif (get-buffer helm-action-buffer) |