Skip to content
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
Closed

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

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

Comments

@basil-conto
Copy link
Collaborator

@basil-conto 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
Copy link
Owner

@abo-abo abo-abo commented Oct 27, 2017

Thanks, please check.

abo-abo added a commit that referenced this issue Oct 27, 2017
@basil-conto
Copy link
Collaborator Author

@basil-conto 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.