[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lisp-completion question
From: |
Thierry Volpiatto |
Subject: |
Re: lisp-completion question |
Date: |
Thu, 04 Jul 2013 13:11:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> I get all the unbounded symbol in the resulting lists,
>
> Sounds like a bug, indeed. Can you give me a concrete example?
;; emacs-24.3
helm!
M-: (lisp-completion-at-point)
=>[...]
:predicate
#[(sym)
"\301!\206 \302!\206 \303!\207"
[sym boundp fboundp symbol-plist]
2]
:annotation-function
#[(str)
"\301\302!!\205 \303\207"
[str fboundp intern-soft " <f>"]
3])
(helm!
M-: (lisp-completion-at-point)
=> [...] :predicate fboundp :annotation-function nil)
;; emacs-24.3.50
helm!
M-: (lisp-completion-at-point)
=>[...]
:annotation-function
#[257 "\300\301!!\205 \302\207"
[fboundp intern-soft " <f>"]
4 "\n\n(fn STR)"])
(helm!
M-: (lisp-completion-at-point)
=>[...]
fboundp)
Note that in first case returning nil is not satisfying, a check to
boundp, fboundp and symbol-plist is needed (see your comment in 24.3
version).
--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997