emacs-devel
[Top][All Lists]
Advanced

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

Re: [elpa] master 567ea7e 1/3: Ivy-mode now works better with `find-file


From: Oleh Krehel
Subject: Re: [elpa] master 567ea7e 1/3: Ivy-mode now works better with `find-file'
Date: Fri, 17 Apr 2015 16:57:28 +0200

On Fri, Apr 17, 2015 at 4:49 PM, Stefan Monnier
<address@hidden> wrote:
>> +  (cond ((or (functionp collection)
>> +             (vectorp collection))
>> +         (when (eq collection 'read-file-name-internal)
>> +           (setq ivy--directory default-directory)
>> +           (setq initial-input nil))
>> +         (setq collection (all-completions "" collection predicate)))
>> +        ((hash-table-p collection)
>> +         (error "Hash table as a collection unsupported"))
>> +        ((listp (car collection))
>> +         (setq collection (all-completions "" collection predicate))))
>
> I suggest you also try
>
>    C-h i
>    g (em TAB

Info-read-node-name-1 takes STRING, PREDICATE, and CODE and says to
look in the `completing-read' doc.  But there's nothing abount CODE
there. Where do I get it?

Oleh



reply via email to

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