emacs-devel
[Top][All Lists]
Advanced

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

Re: [elpa] 01/01: * company-capf.el (company--capf-data): Don't get conf


From: Dmitry Gutov
Subject: Re: [elpa] 01/01: * company-capf.el (company--capf-data): Don't get confused by lambda exps.
Date: Sat, 25 Jan 2014 13:18:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>            (data (run-hook-wrapped 'completion-at-point-functions
>                                    ;; Ignore misbehaving functions.
>                                    #'completion--capf-wrapper 'optimist)))
> -    (when (consp data) data)))
> +    (when (and (consp data) (numberp (car data))) data)))

This will always fail because completion--capf-wrapper returns the
completion function itself in the car. START and END are at positions 1
and 2. I'll push a fixed version shortly.



reply via email to

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