Fix typo in REPLACE-MATCH.
authorChris Hanson <org/chris-hanson/cph>
Mon, 29 Apr 1991 10:16:44 +0000 (10:16 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 29 Apr 1991 10:16:44 +0000 (10:16 +0000)
v7/src/edwin/regexp.scm

index 369cd2b2704523786d979769becff1d9fe840fd5..22f35e9db4eb4de75116d1f8b5b6f88dae3e09f7 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;;    $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/regexp.scm,v 1.52 1991/04/26 03:11:40 cph Exp $
+;;;    $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/regexp.scm,v 1.53 1991/04/29 10:16:44 cph Exp $
 ;;;
 ;;;    Copyright (c) 1986, 1989-91 Massachusetts Institute of Technology
 ;;;
@@ -94,7 +94,7 @@
                  (if (and (not (default-object? literal?)) literal?)
                      replacement
                      (re-substitute-registers replacement))))
-            (if (and (not (default-object? preserve-case?) preserve-case?))
+            (if (and (not (default-object? preserve-case?)) preserve-case?)
                 ;; Emacs uses a more complicated algorithm here,
                 ;; which breaks the replaced string into words,
                 ;; makes the decision based on examining all the