bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#46331: provided-mode-derived-p doesn't work on aliases


From: Lars Ingebrigtsen
Subject: bug#46331: provided-mode-derived-p doesn't work on aliases
Date: Sat, 06 Feb 2021 13:54:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Reuben Thomas <rrt@sc3d.org> writes:

> On Sat, 6 Feb 2021 at 11:39, Lars Ingebrigtsen <larsi@gnus.org> wrote:
>
>  I think adding "MODES or their aliases" was a bit superfluous -- I think
>  it should be self-evident that that's what's meant here.  I didn't
>  remove that bit from the doc string, but I think adding it to
>  derived-mode-p isn't all that helpful.
>
> I agree, but I think it should be consistent between the two functions, 
> otherwise it
> looks as though they work differently. (If one is reading only the 
> docstrings, not
> looking at the code.)

That's true.  So I've now removed the "or their aliases" from the doc
string.

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





reply via email to

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