Variable: allout-structure-deleted-functions

allout-structure-deleted-functions is a customizable variable defined in allout.el.gz.

Value

nil

Documentation

Abnormal hook run after deleting subtrees from an Allout outline.

Functions on the hook must take two arguments:

 - DEPTH -- integer indicating the depth of the subtree that was deleted.
 - REMOVED-FROM -- integer indicating the point where the subtree was removed.

Some edits that remove or invalidate items may be missed by this hook: specifically edits that native allout routines do not control.

This hook might be invoked multiple times by a single command.

This variable was added, or its default value changed, in Emacs 24.3.

Aliases

allout-structure-deleted-hook (obsolete since 24.3)

Source Code

;; Defined in /usr/src/emacs/lisp/allout.el.gz
(defcustom allout-structure-deleted-functions nil
  "Abnormal hook run after deleting subtrees from an Allout outline.
Functions on the hook must take two arguments:

 - DEPTH -- integer indicating the depth of the subtree that was deleted.
 - REMOVED-FROM -- integer indicating the point where the subtree was removed.

Some edits that remove or invalidate items may be missed by this hook:
specifically edits that native allout routines do not control.

This hook might be invoked multiple times by a single command."
  :type 'hook
  :group 'allout
  :version "24.3")