diff --git a/README.asciidoc b/README.asciidoc index 0a6357cb..3caab041 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -166,6 +166,12 @@ definition includes a +:compile+ property set to the list of files to byte compile (or to a single file), or all the +.el+ files found in the package when there's no +:build+ command. +=== Hooks + ++el-get+ offers a variety of specific hooks (read the source), and two +general purposes hooks facilities: +el-get-post-install-hooks+ and ++el-get-post-update-hooks+, called with the package name as argument. + === Some more commands? Yes, ok. diff --git a/el-get.el b/el-get.el index 5ad49a18..c1719e94 100644 --- a/el-get.el +++ b/el-get.el @@ -32,6 +32,7 @@ ;; - Byte compile files from the load-path entries or :compile files ;; - Implement support for git submodules with the command ;; `git submodule update --init --recursive` +;; - Add catch-all post-install and post-update hooks ;; ;; 0.9 - 2010-08-24 - build me a shell ;; @@ -87,7 +88,7 @@ It will get called with the package as first argument." :type 'hook) (defcustom el-get-post-update-hooks nil - "Hooks to run after installing a package. + "Hooks to run after updating a package. It will get called with the package as first argument." :group 'el-get :type 'hook)