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 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
Copy link
Owner

abo-abo commented Oct 27, 2017

Thanks, please check.

@basil-conto
Copy link
Collaborator Author

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants