|
From: | Stefan Monnier |
Subject: | Re: trunk r116285: * lisp/emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start |
Date: | Thu, 06 Feb 2014 17:00:24 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
>> + ;; Don't include all symbols >> + ;; (bug#16646). >> + (lambda (sym) >> + (or (boundp sym) >> + (fboundp sym) >> + (symbol-plist sym))) >> + 'strict)) > Shouldn't we also filter out functions (and maybe the symbols of the > third kind), depending on whether there's a quote before BEG? Yes, except that "a quote before BEG" is not sufficient. We could/should also check if one of the parent open-parens is prefixed with a quote or a backquote, and only allow boundp if not. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |