emacs-devel
[Top][All Lists]
Advanced

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

Re: lisp-completion question


From: Stefan Monnier
Subject: Re: lisp-completion question
Date: Wed, 03 Jul 2013 20:24:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> It seem `lisp-completion-at-point' is no more returning :predicate,
> (accessible in emacs-24.3 with (plist-get plist :predicate))
> is it wanted?

It sometimes does, sometimes doesn't.  Do you see a difference in the
resulting behavior?

> In `lisp--local-variables' e.g &optional is returned, is it wanted?

No.

> otherwise, the patch below fix it:
> diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el
> index b37a811..af8433a 100644
> --- a/lisp/emacs-lisp/lisp.el
> +++ b/lisp/emacs-lisp/lisp.el
> @@ -725,7 +725,7 @@ considered."
>          (delq nil
>                (mapcar (lambda (var)
>                          (and (symbolp var)
> -                             (not (string-match (symbol-name var) "\\`[&_]"))
> +                             (not (string-match "\\`[&_]" (symbol-name var)))
>                               ;; Eliminate uninterned vars.
>                               (intern-soft var)
>                               var))

Very much so, indeed, thanks for catching this typo.  Feel free to
install that patch,


        Stefan



reply via email to

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