From xemacs-m  Sat Feb 22 14:04:04 1997
Received: from crystal.WonderWorks.COM (crystal.WonderWorks.com [192.203.206.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id OAA07285
	for <xemacs-beta@xemacs.org>; Sat, 22 Feb 1997 14:04:02 -0600 (CST)
Received: by crystal.WonderWorks.COM 
	id QQceaq15025; Sat, 22 Feb 1997 15:04:04 -0500 (EST)
Date: Sat, 22 Feb 1997 15:04:04 -0500 (EST)
Message-Id: <QQceaq15025.199702222004@crystal.WonderWorks.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Kyle Jones <kyle_jones@wonderworks.com>
To: xemacs-beta@xemacs.org
Subject: [PATCH] 20.1b1: can't M-x cd into some directories

Create two directories a and a-b.  Try to M-x cd into a.  Forget
it, can't be done.  minibuffer-complete-and-exit won't let you
escape.

Here's a patch to minibuf.el.  You'll have to redump your Emacs
for this to take effect.

*** 1.1	1997/02/22 19:30:30
--- lisp/prim/minibuf.el	1997/02/22 19:54:34
***************
*** 1704,1712 ****
                 ;; complete?
                 (if (not orig)
                     nil
! 		 (and (file-directory-p string)
! 		      ;; So "foo" is ambiguous between "foo/" and "foobar/"
! 		      (equal string (file-name-as-directory string)))))
                ((eq action 't)
                 ;; all completions
                 (funcall dirs #'(lambda (n)
--- 1704,1710 ----
                 ;; complete?
                 (if (not orig)
                     nil
! 		 (file-directory-p string)))
                ((eq action 't)
                 ;; all completions
                 (funcall dirs #'(lambda (n)

