aboutsummaryrefslogtreecommitdiff
path: root/proof.el
diff options
context:
space:
mode:
authorThomas Kleymann1996-11-01 16:15:23 +0000
committerThomas Kleymann1996-11-01 16:15:23 +0000
commit9ef149355621242505a2fed1fa94da97db50bd62 (patch)
treefa0b54fb5dcea59e1b55abb279ad4dbbf7227e48 /proof.el
parent0f1f69da149ded4e687019e07a258b9ac874fb51 (diff)
improved font-lock customisation for LEGO
Diffstat (limited to 'proof.el')
-rw-r--r--proof.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/proof.el b/proof.el
index a4b2bf25..26c1e749 100644
--- a/proof.el
+++ b/proof.el
@@ -3,7 +3,7 @@
;; rearranging Thomas Schreiber's code.
;; Maintainer: LEGO Team <lego@dcs.ed.ac.uk>
-;; Time-stamp: <25 Oct 96 tms ~/elisp/proof.el>
+;; Time-stamp: <30 Oct 96 tms /home/tms/elisp/proof.el>
;; Thanks to David Aspinall, Robert Boyer, Rod Burstall,
;; James McKinna, Mark Ruys, Martin Steffen, Perdita Stevens
@@ -214,7 +214,9 @@
(display-buffer tmp-buffer)))
(defun proof-append-terminator (string)
- (or (string-match proof-re-end-of-cmd string)
+ (or (and
+ (string-match proof-re-end-of-cmd string)
+ string)
(setq string (concat string proof-terminal-string))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -492,7 +494,7 @@ current command."
(define-key proof-mode-map [(control c) (control e)]
'proof-find-end-of-command)
(define-key proof-mode-map [(control c) (control j)] 'proof-send-line)
-(define-key proof-mode-map [(control c) r] 'proof-send-region)
+(define-key proof-mode-map [(control c) (control r)] 'proof-send-region)
(define-key proof-mode-map [(control c) (control c)] 'proof-interrupt-subjob)
(define-derived-mode proof-shell-mode comint-mode