[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lisp-completion question
From: |
Thierry Volpiatto |
Subject: |
lisp-completion question |
Date: |
Wed, 26 Jun 2013 13:39:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lisp-completion question,
Thierry Volpiatto <=