Variable: org-persist-before-write-hook

org-persist-before-write-hook is a variable defined in org-persist.el.gz.

Value

(org-element--cache-persist-before-write)

Documentation

Abnormal hook ran before saving data.

The hook must accept the same arguments as org-persist-write. The hooks will be evaluated until a hook returns non-nil. If any of the hooks return non-nil, do not save the data.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-persist.el.gz
(defvar org-persist-before-write-hook nil
  "Abnormal hook ran before saving data.
The hook must accept the same arguments as `org-persist-write'.
The hooks will be evaluated until a hook returns non-nil.
If any of the hooks return non-nil, do not save the data.")