emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r99841: * minibuf.c (Fall_com


From: Juanma Barranquero
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r99841: * minibuf.c (Fall_completions): Add more checks.
Date: Tue, 8 Jun 2010 22:03:52 +0200

On Tue, Jun 8, 2010 at 19:56, Andreas Schwab <address@hidden> wrote:

> -         if (!EQ (bucket, zero))
> +         if (SYMBOLP (bucket))

This is different than passing [] (which is a valid, if empty,
obarray). According to docs:

  [...] an obarray is actually a vector.  Each element of the
  vector is a bucket; its value is either an interned symbol whose name
  hashes to that bucket, or 0 if the bucket is empty.

So [3] is not a valid obarray, so (all-completions "" [3]) should
throw an error, not return nil.

    Juanma



reply via email to

[Prev in Thread] Current Thread [Next in Thread]