New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elisp-completion-at-point: args out of range #1251

Closed
basil-conto opened this Issue Oct 27, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@basil-conto
Contributor

basil-conto commented Oct 27, 2017

Commit 87c1e4e introduced the following error during in-buffer elisp completion:

  1. $ make plain
  2. (let (x (temp-buffer-sh C-M-i

gives the error

if: Args out of range: "temp-buffer-sh", -21, nil

and the attached backtrace.

What I am trying to complete is the name of the variable temp-buffer-show-function. I cannot reproduce the issue without including a symbol (in this case x) in the let varlist.

Interestingly, bare Emacs sans ivy completes temp-buffer-sh to temp-buffer-window-show, i.e. it mistakes (temp-buffer-sh as starting a function call, rather than a variable's let-binding.

@abo-abo abo-abo closed this in 8d124c8 Oct 27, 2017

@abo-abo

This comment has been minimized.

Owner

abo-abo commented Oct 27, 2017

Thanks, please check.

@basil-conto

This comment has been minimized.

Contributor

basil-conto commented Oct 27, 2017

Thanks for the quick fix, works now. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment