Variable: org-archive-hook

org-archive-hook is a variable defined in org-archive.el.gz.

Value

(org-attach-archive-delete-maybe)

Documentation

Hook run after successfully archiving a subtree.

Hook functions are called with point on the subtree in the original file. At this stage, the subtree has been added to the archive location, but not yet deleted from the original file.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-archive.el.gz
(defvar org-archive-hook nil
  "Hook run after successfully archiving a subtree.
Hook functions are called with point on the subtree in the
original file.  At this stage, the subtree has been added to the
archive location, but not yet deleted from the original file.")