Skip to content

Commit

Permalink
Prevent Args out of range error in ocp-indent-buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
bcc32 committed Jun 18, 2024
1 parent f38578c commit d510acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ocp-indent.el
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ buffer."

(defun ocp-indent-buffer ()
(interactive nil)
(ocp-indent-region 0 (buffer-size)))
(ocp-indent-region (point-min) (point-max)))

;;;###autoload
(defun ocp-setup-indent ()
Expand Down

0 comments on commit d510acd

Please sign in to comment.