all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Stefan Monnier <public-monnier-CRDzTM1onBSWkKpYnGOUKg@plane.gmane.org>
Cc: emacs-devel@gnu.org
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	[thread overview]
Message-ID: <87ppng9un5.fsf@yandex.ru> (raw)
In-Reply-To: <E1W6lQT-0006KT-5K@vcs.savannah.gnu.org> (Stefan Monnier's message of "Fri, 24 Jan 2014 18:24:21 +0000")

Stefan Monnier <monnier-CRDzTM1onBSWkKpYnGOUKg@public.gmane.org> 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	other threads:[~2014-01-25 11:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20140124182420.24272.98505@vcs.savannah.gnu.org>
     [not found] ` <E1W6lQT-0006KT-5K@vcs.savannah.gnu.org>
2014-01-25 11:18   ` Dmitry Gutov [this message]
2014-01-25 21:49     ` [elpa] 01/01: * company-capf.el (company--capf-data): Don't get confused by lambda exps Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ppng9un5.fsf@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=public-monnier-CRDzTM1onBSWkKpYnGOUKg@plane.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.