Subject: bug#45199: 28.0.50; [PATCH] Make goto-char offer the number at point as default

From: Juri Linkov <[email-masked]>
Date: Mon, 14 Dec 2020 21:29:08 +0200

>> Yeah, I'd still rather have a helper function -- putting several lines
>> of Lisp code in a string in C isn't optimal.
>
> OK, done.

Shouldn't goto-line use the same function to read a number?
The first version of your patch used the code similar to
goto-line-read-args, so wouldn't it make sense to use the
new function in goto-line-read-args as well?