[Top][All Lists]

[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: Stefan Monnier
Subject: Re: [elpa] 01/01: * company-capf.el (company--capf-data): Don't get confused by lambda exps.
Date: Sat, 25 Jan 2014 16:49:57 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>> (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.

Duh!  Thanks for catching this.  I see now that I "tested" it without
recompiling, which is why it seemed to work as well as before.


reply via email to

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