Subject: bug#8926: 24.0.50; pcomplete regression

From: Stefan Monnier <[email-masked]>
Date: Sun, 26 Jun 2011 09:03:23 -0400

tags 8926 +wontfix
thanks

> in emacs-24 i notice a regression with pcomplete:

> M-x eshell

> cd do

> M-: (pcomplete-completions)

> => doesn't return a list of directories starting with "do" but an elisp
> object unusable.

Since Emacs-23, pcomplete-completions is defined to return
a completion-table.  A completion-table can be a list, an alist, an
obarray, a hash-table, or a function.  It is meant to be passed to
`all-completions' or `try-completion'.

I.e. if you do (all-completions "" (pcomplete-completions)) you'll get
your list of directories again.

        Stefan