[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: Dmitry Gutov
Subject: Re: [elpa] master 6a098c6 15/19: Add ivy-mode
Date: Sat, 18 Apr 2015 00:07:24 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0

On 04/16/2015 04:37 PM, Stefan Monnier wrote:
+  (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

It also needs to support obarrays, to be useful with e.g. `describe-function'.

reply via email to

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