branch: elpa/helm commit dbdf176e7e51ee5e56bd6d00178f8f6a68910ec5 Author: Thierry Volpiatto <thie...@posteo.net> Commit: Thierry Volpiatto <thie...@posteo.net>
Use defcustom for helm-packages-clone-after-hook --- helm-packages.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/helm-packages.el b/helm-packages.el index 6a4e6ceebe..aeb948ed57 100644 --- a/helm-packages.el +++ b/helm-packages.el @@ -78,9 +78,10 @@ "Default directory where to clone packages." :type 'string) -(defvar helm-packages-clone-after-hook nil +(defcustom helm-packages-clone-after-hook nil "Hook that run after cloning a package. -It is called with two args respectively PACKAGE as a string and DIRECTORY.") +It is called with two args respectively PACKAGE as a string and DIRECTORY." + :type 'hook) ;;; Actions ;;