diff options
| author | David Aspinall | 1999-10-15 15:56:57 +0000 |
|---|---|---|
| committer | David Aspinall | 1999-10-15 15:56:57 +0000 |
| commit | f3f8d9521315fbb90214b0d68212743a12ea23e6 (patch) | |
| tree | 47325d40cb1f218acfd5d46cb84b83b1345667ff /generic | |
| parent | 055dcc91b2dfe91f4f320596d13277f96937aa6f (diff) | |
Disabled proliferation of proof shell buffers.
Diffstat (limited to 'generic')
| -rw-r--r-- | generic/proof-shell.el | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/generic/proof-shell.el b/generic/proof-shell.el index cb5b5e72..eae1d190 100644 --- a/generic/proof-shell.el +++ b/generic/proof-shell.el @@ -225,15 +225,20 @@ Does nothing if proof assistant is already running." (substring proof-prog-name (or (string-match "[^/]*[ ]" proof-prog-name) 0) (string-match " " proof-prog-name))))) - ;; FIXME da: We don't really need this. We never have more than + + ;; da: We don't really need this. We never have more than ;; one proof shell running at a time. We might as well ;; kill off the old buffer anyway. But leave it in for now for ;; future expansion, or for user to inspect the old buffer. - (while (get-buffer (concat "*" proc "*")) - (if (string= (substring proc -1) ">") - (aset proc (- (length proc) 2) - (+ 1 (aref proc (- (length proc) 2)))) - (setq proc (concat proc "<2>")))) + + ;; da: Removed this because it leads to objectionable + ;; proliferation of buffers when startup fails. + + ;; (while (get-buffer (concat "*" proc "*")) + ;; (if (string= (substring proc -1) ">") + ;; (aset proc (- (length proc) 2) + ;; (+ 1 (aref proc (- (length proc) 2)))) + ;; (setq proc (concat proc "<2>")))) (message (format "Starting process: %s" proof-prog-name)) |
