[Top][All Lists]

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

Re: [elpa] master 6a098c6 15/19: Add ivy-mode

From: Stefan Monnier
Subject: Re: [elpa] master 6a098c6 15/19: Add ivy-mode
Date: Thu, 16 Apr 2015 09:37:28 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> +  (cond ((functionp collection)
> +         (error "Function as a collection unsupported"))
> +        ((hash-table-p collection)
> +         (error "Hash table as a collection unsupported"))
> +        ((listp (car collection))
> +         (setq collection (mapcar #'car collection))))
> +      (setq completing-read-function 'ivy-completing-read)

Since completion-tables in the form of a function are pretty common
nowadays (and becoming every time more frequent), this is a real

   emacs -Q -l .../swiper/swiper-autoloads.el
   M-x ivy-mode RET
   C-x C-f
   C-x b

Notice how both C-x C-f and C-x b signal errors.


reply via email to

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