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

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 15 Dec 2020 07:30:57 +0100

Juri Linkov <[email-masked]> writes:

>>> 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?

Reusing it directly would be awkward, but goto-line-read-args could
indeed use number-at-point.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no