diff options
| author | David Aspinall | 1999-09-21 14:44:46 +0000 |
|---|---|---|
| committer | David Aspinall | 1999-09-21 14:44:46 +0000 |
| commit | 727af67b3420ca0bb09538ac8bb9eb4947a22e80 (patch) | |
| tree | 995a313eeb194ea1cf537272a90d6dae8c8f9d04 | |
| parent | 4cffebeb11d5b2f02a6c26a7f4d40a90181586fc (diff) | |
Call proof-state-change-hook after asserting and retracting.
| -rw-r--r-- | generic/proof-script.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/proof-script.el b/generic/proof-script.el index f15bc477..487211cc 100644 --- a/generic/proof-script.el +++ b/generic/proof-script.el @@ -711,9 +711,9 @@ the ACS is marked in the current buffer. If CMD does not match any, (funcall proof-global-p cmd) proof-lift-global (funcall proof-lift-global span))))) - ;; FIXME: circular dependency on proof-toolbar here! - (proof-toolbar-refresh) - ) + + ;; State of scripting may have changed now + (run-hooks 'proof-state-change-hook)) @@ -1053,8 +1053,8 @@ Optionally delete the region corresponding to the proof sequence." (delete-spans start end 'type) (delete-span span) (if kill (kill-region start end)))) - ;; FIXME: circular dependency on proof-toolbar here! - (proof-toolbar-refresh)) + ;; State of scripting may have changed now + (run-hooks 'proof-state-change-hook)) (defun proof-setup-retract-action (start end proof-command delete-region) (let ((span (make-span start end))) |
