emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shr-copy-url: arg misnamed?


From: T.V Raman
Subject: Re: shr-copy-url: arg misnamed?
Date: Sun, 23 Sep 2018 16:45:01 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Noam Postavsky <address@hidden> writes:
What I meant was:

Interactive form returns "url" to fill-in its arg (url) --- agree re the
cut-and-paste error.
Not sure why I typed "shadowed" -- what I meant was that the naming of
"url" is confusing 
(interactive (list (shr-url-at-point current-prefix-arg)))
> On Sat, 22 Sep 2018 at 12:22, T.V Raman <address@hidden> wrote:
>>
>> Should the arg in this function be renamed?
>>
>> The name "url" is confusing, and is likely being shadowed
>
> Not sure what you mean by shadowed, but the docstring has a copy-paste
> mistake: it should say "with a prefix argument" instead of referencing
> IMAGE-URL (which is an arg of shr-url-at-point).

-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]