]> git.eshelyaron.com Git - emacs.git/commit
Handle automatic macro expansion by elisp-completion-at-point
authorJustin Burkett <justin@burkett.cc>
Mon, 18 Dec 2017 20:15:28 +0000 (15:15 -0500)
committerJustin Burkett <justin@burkett.cc>
Wed, 20 Dec 2017 03:30:59 +0000 (22:30 -0500)
commit9638870f53a895264cef748e7c2afb24f28b0cf1
tree432c8dcf5a674e2cbf292edf363366f45c9494ba
parent13fb5f4f2e02ef08f8c87017a8eb03d69cd59910
Handle automatic macro expansion by elisp-completion-at-point

The function `elisp--local-variables' inserts an unbound variable,
`elisp--witness--lisp', into macro forms to determine the locally bound
variables for `elisp-completion-at-point'. It ends up throwing a lot of errors
since it can occupy the position of a keyword (or look like a second argument to
a keyword that takes one). Deleting it when it's at the top level should be
harmless since there should be no locally bound variables to discover here
anyway.
lisp/use-package/use-package-core.el