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

Out of range since emacs 28 #320

Open
bmourad01 opened this issue Apr 13, 2022 · 0 comments · May be fixed by #327
Open

Out of range since emacs 28 #320

bmourad01 opened this issue Apr 13, 2022 · 0 comments · May be fixed by #327

Comments

@bmourad01
Copy link

The following line seems to be the culprit with an out of range error when running ocp-indent-buffer:

(ocp-indent-region 0 (buffer-size)))

A fix that seems to work for me is:

(ocp-indent-region 1 (buffer-size))
@bmourad01 bmourad01 changed the title Out of range in emacs 28 Out of range since emacs 28 Apr 13, 2022
bcc32 added a commit to bcc32/ocp-indent that referenced this issue Jun 18, 2024
@bcc32 bcc32 linked a pull request Jun 18, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant