aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2004-04-22 09:54:22 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2004-04-22 09:54:22 +0000
commit48c7ab576a42556e1891a3ca15225378e49cde48 (patch)
tree3a3176c5950cfe1746f58d20425cf820fe788a5b /generic
parentb9f01954505cc102ac49ddbd71e366dcd078472b (diff)
Add proof-deactivate-scripting-hook
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
;;