From b24603f6a4cfe99df529c144702f6123485dc07a Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 4 Dec 1998 05:07:27 +0000 Subject: [PATCH] Fix bug: under some circumstances a null completion message was being echoed in the minibuffer. --- v7/src/edwin/prompt.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) -- 2.25.1