Use `line-{beginning,end}-position` instead of `point-at-[be]ol`.

The latter are XEmacs compatibility aliases for the former.