unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* lisp-completion question
@ 2013-06-26 11:39 Thierry Volpiatto
  2013-07-04  0:24 ` Stefan Monnier
  0 siblings, 1 reply; 7+ messages in thread
From: Thierry Volpiatto @ 2013-06-26 11:39 UTC (permalink / raw)
  To: emacs-devel

Hi,

It seem `lisp-completion-at-point' is no more returning :predicate,
(accessible in emacs-24.3 with (plist-get plist :predicate))
is it wanted?
Note: `lisp-complete-symbol' is still using this with no effect of course. 

In `lisp--local-variables' e.g &optional is returned, is it wanted?
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))


Thanks.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-07-04 18:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-26 11:39 lisp-completion question Thierry Volpiatto
2013-07-04  0:24 ` Stefan Monnier
2013-07-04  6:04   ` Thierry Volpiatto
2013-07-04  9:58     ` Stefan Monnier
2013-07-04 11:11       ` Thierry Volpiatto
2013-07-04 11:18         ` Thierry Volpiatto
2013-07-04 18:14         ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).