Previous: , Up: Annotations   [Contents][Index]


51.6 Annotation Hooks

The following three hooks are provided for use with the marginal annotations:

before-delete-annotation-hook

This hook is called immediately before an annotation is destroyed. It is passed a single argument, the annotation being destroyed.

after-delete-annotation-hook

This normal hook is called immediately after an annotation is destroyed.

make-annotation-hook

This hook is called immediately after an annotation is created. It is passed a single argument, the newly created annotation.