Passing count to hcl-end-of-defun is optional, but not doing so would result in an error. For instance, calling mark-defun fails with the error "end-of-defun: Wrong type argument: number-or-marker-p, nil".
Setting the default value to 1 avoids this problem, similar to what is done in hcl-beginning-of-defun.
Passing
count
tohcl-end-of-defun
is optional, but not doing so would result in an error. For instance, callingmark-defun
fails with the error "end-of-defun: Wrong type argument: number-or-marker-p, nil".Setting the default value to 1 avoids this problem, similar to what is done in
hcl-beginning-of-defun
.