From: Chris Hanson Date: Fri, 4 Dec 1998 05:07:27 +0000 (+0000) Subject: Fix bug: under some circumstances a null completion message was being X-Git-Tag: 20090517-FFI~4712 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=b24603f6a4cfe99df529c144702f6123485dc07a;p=mit-scheme.git Fix bug: under some circumstances a null completion message was being echoed in the minibuffer. --- diff --git a/v7/src/edwin/prompt.scm b/v7/src/edwin/prompt.scm index 7dc7deb82..2b25f6c99 100644 --- a/v7/src/edwin/prompt.scm +++ b/v7/src/edwin/prompt.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: prompt.scm,v 1.172 1998/11/18 03:17:41 cph Exp $ +;;; $Id: prompt.scm,v 1.173 1998/12/04 05:07:27 cph Exp $ ;;; ;;; Copyright (c) 1986, 1989-98 Massachusetts Institute of Technology ;;; @@ -680,7 +680,8 @@ a repetition of this command will exit." (define (completion-message string) (if (typein-window? (current-window)) - (temporary-typein-message (string-append " [" string "]")) + (if (not (string-null? string)) + (temporary-typein-message (string-append " [" string "]"))) (message string))) (define (temporary-typein-message string)