;;; -*-Scheme-*-
;;;
-;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/prompt.scm,v 1.140 1991/05/02 01:14:05 cph Exp $
+;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/prompt.scm,v 1.141 1991/05/16 23:06:17 cph Exp $
;;;
;;; Copyright (c) 1986, 1989-91 Massachusetts Institute of Technology
;;;
(lambda (new-string)
(let ((end (string-length new-string)))
(let ((index
- (and (string-prefix? string new-string)
+ (and (string-prefix-ci? string new-string)
(substring-find-next-char-not-of-syntax
new-string
(string-length string)
(list-transform-positive completions
(let ((prefix (string-append string suffix)))
(lambda (completion)
- (string-prefix? prefix completion))))))
+ (string-prefix-ci? prefix
+ completion))))))
(cond ((null? completions)
(if-not-found))
((null? (cdr completions))
;;; -*-Scheme-*-
;;;
-;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/utils.scm,v 1.24 1991/05/10 04:59:10 cph Exp $
+;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/utils.scm,v 1.25 1991/05/16 23:06:00 cph Exp $
;;;
;;; Copyright (c) 1986, 1989-91 Massachusetts Institute of Technology
;;;
(if (null? strings)
(substring string 0 index)
(let ((string* (car strings)))
- (let ((index*
- (string-match-forward string string*)))
+ (let ((index* (string-match-forward-ci string string*)))
(if (< index* index)
(loop (cdr strings) string* index*)
(loop (cdr strings) string index)))))))