diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2015-07-13 16:55:36 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2015-07-13 16:55:36 +0200 |
commit | 51d796c975fd026f8fc7eb5f8a7cc856893cb990 (patch) | |
tree | 23ee2a703e0f235b494c80bfec78285a9c9e7c77 /helm-elisp-package.el | |
parent | b13137c5f20d23f82785d39fd235b5aaa482e421 (diff) |
Fix previous commit.
* helm-elisp-package.el (helm-el-package-upgrade-all): Remove arg.
(helm-el-package-upgrade-all-action): Use it in the run fn.
Diffstat (limited to 'helm-elisp-package.el')
-rw-r--r-- | helm-elisp-package.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/helm-elisp-package.el b/helm-elisp-package.el index 2261e73f..3d193dc3 100644 --- a/helm-elisp-package.el +++ b/helm-elisp-package.el @@ -217,7 +217,7 @@ (with-helm-alive-p (helm-quit-and-execute-action 'helm-el-package-upgrade))) -(defun helm-el-package-upgrade-all (_candidate) +(defun helm-el-package-upgrade-all () (if helm-el-package--upgrades (with-helm-display-marked-candidates helm-marked-buffer-name (mapcar (lambda (x) (symbol-name (car x))) @@ -226,13 +226,13 @@ (helm-el-package-upgrade-1 helm-el-package--tabulated-list))) (message "No packages to upgrade actually!"))) +(defun helm-el-package-upgrade-all-action (_candidate) + (helm-el-package-upgrade-all)) + (defun helm-el-run-package-upgrade-all () (interactive) (with-helm-alive-p - (helm-quit-and-execute-action 'helm-el-package-upgrade-all))) - -(defun helm-el-package-upgrade-all-action (_candidate) - (helm-el-package-upgrade-all)) + (helm-quit-and-execute-action 'helm-el-package-upgrade-all-action))) (defun helm-el-package--transformer (candidates _source) (cl-loop for c in candidates |