#| -*-Scheme-*-
-$Id: comhst.scm,v 1.1 1992/09/23 23:03:31 jinx Exp $
+$Id: comhst.scm,v 1.2 1993/08/22 04:16:32 gjr Exp $
-Copyright (c) 1992 Massachusetts Institute of Technology
+Copyright (c) 1992-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(set-variable! comint-last-input-match string)
((ref-command comint-previous-input) (- index start)))
(else
- (loop index)))))))))
\ No newline at end of file
+ (loop index)))))))))
+
+(define (comint-record-input ring string)
+ (if (or (ring-empty? ring)
+ (not (string=? string (ring-ref ring 0))))
+ (ring-push! ring string)))
\ No newline at end of file
#| -*-Scheme-*-
-$Id: comint.scm,v 1.19 1993/08/02 02:50:40 cph Exp $
+$Id: comint.scm,v 1.20 1993/08/22 04:16:25 gjr Exp $
-Copyright (c) 1991-1992 Massachusetts Institute of Technology
+Copyright (c) 1991-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(insert-newline point))
(move-mark-to! mark point)
(process-send-string process (string-append string terminator)))))))
-
-(define (comint-record-input ring string)
- (if (or (ring-empty? ring)
- (not (string=? string (ring-ref ring 0))))
- (ring-push! ring string)))
\f
(define-variable-per-buffer comint-get-old-input
"Procedure that submits old text in comint mode.