aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/proof-config.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/generic/proof-config.el b/generic/proof-config.el
index 917b0536..5b8ae83d 100644
--- a/generic/proof-config.el
+++ b/generic/proof-config.el
@@ -1366,6 +1366,15 @@ for scripting commands), unless activated-interactively is set."
:type '(repeat function)
:group 'proof-script)
+(defcustom proof-deactivate-scripting-hook nil
+ "Hook run when a buffer is switched out of scripting mode.
+The current buffer will be the recently scripting buffer.
+
+This hook may be useful for synchronizing with the proof
+assistant, for example, to compile a completed file."
+ :type '(repeat function)
+ :group 'proof-script)
+
;;
;; Proof script indentation
;;