diff options
| author | David Aspinall | 1998-10-12 15:52:33 +0000 |
|---|---|---|
| committer | David Aspinall | 1998-10-12 15:52:33 +0000 |
| commit | 7ae642f20e2c0656444bf116202f7b5f1d2bca94 (patch) | |
| tree | b40326261e6f036c29f5bf4b098aec46fa66ee3c /generic | |
| parent | 4cd108084f7c326bcdf27f8384c1b008f67f0bbc (diff) | |
Made toolbar functions interactive, needed by old XEmacs.
Diffstat (limited to 'generic')
| -rw-r--r-- | generic/proof-toolbar.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/generic/proof-toolbar.el b/generic/proof-toolbar.el index 15a64fbe..de867fc5 100644 --- a/generic/proof-toolbar.el +++ b/generic/proof-toolbar.el @@ -226,6 +226,7 @@ without giving error messages." (defun proof-toolbar-next () "Assert next command in proof to proof process. Move point if the end of the locked position is invisible." + (interactive) (save-excursion (if (proof-shell-live-buffer) (goto-char (proof-locked-end)) @@ -240,6 +241,7 @@ Move point if the end of the locked position is invisible." (defun proof-toolbar-retract () "Retract buffer." ;; proof-retract-file might be better here! + (interactive) (if (proof-toolbar-retract-enable-p) (save-excursion (goto-char (point-min)) @@ -252,6 +254,7 @@ Move point if the end of the locked position is invisible." (defun proof-toolbar-use "Process the whole buffer" + (interactive) (save-excursion (proof-process-buffer))) @@ -261,6 +264,7 @@ Move point if the end of the locked position is invisible." (eq proof-buffer-type 'script)) (defun proof-toolbar-restart () + (interactive) (if (proof-toolbar-restart-enable-p) ((if (yes-or-no-p (concat "Restart " proof-assistant " scripting?")) (proof-restart-script))))) @@ -278,6 +282,8 @@ Move point if the end of the locked position is invisible." (proof-toolbar-process-available-p))) (defun proof-toolbar-qed + "Insert a save theorem command into the script buffer, issue it." + (interactive) (if (proof-toolbar-qed-enable-p) (proof-issue-save))) ;; |
