GNU-devel ELPA - hook-helpers

hook-helpers

Description
Anonymous, modifiable hook functions
Latest
hook-helpers-1.1.1.0.20201201.93957.tar (.sig), 2024-Mar-31, 80.0 KiB
Maintainer
Ian Dunn <dunni@gnu.org>
Atom feed
hook-helpers.xml
Website
https://savannah.nongnu.org/projects/hook-helpers-el/
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

Often times, I see people define a function to be used once in a hook.  If
they don’t do this, then it will be an anonymous function.  If the anonymous
function is modified, then the function can’t be removed.  With a function
outside of the `add-hook' call, it looks messy.

Hook Helpers are a solution to this.  A "hook helper" is an anonymous,
modifiable function created for the sole purpose of being attached to a hook.
This combines the two commonly used methods mentioned above.  The functions
don't exist, so they don't get in the way of `describe-function', but they
can be removed or modified as needed.

Old versions

hook-helpers-1.1.1.0.20201201.143957.tar.lz2020-Dec-1418.6 KiB