Subject: bug#20456: lisp-complete-symbol PREDICATE argument non-functional since 24.4

From: Nicolas Petton <[email-masked]>
Date: Sat, 16 May 2015 16:01:31 +0200

Glenn Morris writes:

> Package: emacs
> Version: 24.4
>
> emacs -Q
>
> Insert "(define-m" in scratch.
> M-: (lisp-complete-symbol 'commandp)
>
>
> Emacs 24.3 correctly returns:
>
> Possible completions are:
> define-mail-abbrev <f>
> define-mail-alias <f>
> define-mode-abbrev <f>
>
>
> Emacs 24.4 and later return:
>
> Possible completions are:
> define-mail-abbrev      define-mail-alias
> define-mail-user-agent  define-minor-mode
> define-mode-abbrev
>
>
> The PREDICATE argument does nothing. At the very least, the function's
> documentation needs updating. (Obsoleting lisp-complete-symbol doesn't
> obviate the need for doing that.)

I updated the dostring of the function and removed the usage of
`predicate' that was indeed useless.

Nico
-- 
Nicolas Petton
http://nicolas-petton.fr