diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2016-01-12 07:56:07 +0100 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2016-01-12 07:56:07 +0100 |
commit | 7633b7a465df30efd187484c4cac1e544e831a35 (patch) | |
tree | 1bd2f46f51765b2e6eaef42af8c24806acc87d5e /helm-grep.el | |
parent | 904b2bd3156911d5b6b2010407a0c66c22eeb7ae (diff) |
Add helm-only property to helm actions.
Use with-helm-alive-p where needed.
Diffstat (limited to 'helm-grep.el')
-rw-r--r-- | helm-grep.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/helm-grep.el b/helm-grep.el index a2134bd9..44a4f7f5 100644 --- a/helm-grep.el +++ b/helm-grep.el @@ -610,6 +610,7 @@ If N is positive go forward otherwise go backward." (with-helm-alive-p (with-helm-window (helm-goto-next-or-prec-file -1)))) +(put 'helm-goto-precedent-file 'helm-only t) ;;;###autoload (defun helm-goto-next-file () @@ -623,24 +624,28 @@ If N is positive go forward otherwise go backward." (interactive) (with-helm-alive-p (helm-exit-and-execute-action 'helm-grep-action))) +(put 'helm-grep-run-default-action 'helm-only t) (defun helm-grep-run-other-window-action () "Run grep goto other window action from `helm-do-grep-1'." (interactive) (with-helm-alive-p (helm-exit-and-execute-action 'helm-grep-other-window))) +(put 'helm-grep-run-other-window-action 'helm-only t) (defun helm-grep-run-other-frame-action () "Run grep goto other frame action from `helm-do-grep-1'." (interactive) (with-helm-alive-p (helm-exit-and-execute-action 'helm-grep-other-frame))) +(put 'helm-grep-run-other-frame-action 'helm-only t) (defun helm-grep-run-save-buffer () "Run grep save results action from `helm-do-grep-1'." (interactive) (with-helm-alive-p (helm-exit-and-execute-action 'helm-grep-save-results))) +(put 'helm-grep-run-save-buffer 'helm-only t) ;;; helm-grep-mode |