amethyst icon indicating copy to clipboard operation
amethyst copied to clipboard

Don't use inline lambdas for hooks

Open yilinwei opened this issue 4 years ago • 1 comments

In this bit of code here, you're using an inline quoted lambda for hooks.

The issue with that, is that it tends to be quite hard to introspect the hook variable with describe-variable, usually bound to C-h v, or remove the hook with remove-hook.

yilinwei avatar Feb 27 '21 08:02 yilinwei

Good tip! Thanks!

ashton314 avatar Feb 27 '21 20:02 ashton314