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

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

bug#44792: [PATCH] Remove specific byte-compiler warnings for cl.el


From: Stefan Kangas
Subject: bug#44792: [PATCH] Remove specific byte-compiler warnings for cl.el
Date: Sun, 22 Nov 2020 03:09:03 -0800

Severity: wishlist

The old `cl.el' library was marked obsolete in Emacs 27.1.  We now get
two warnings if we try to require it, for example:

foo.el:3:1: Warning: Package cl is deprecated
foo.el:3:1: Warning: cl package required at runtime

I don't think there is any need to maintain the specific warnings about
the `cl' package.  The regular deprecation warnings should be
sufficient: they discourage use of cl.el altogether.

The attached patch removes all specific warnings about cl.  It also
updates the documentation to be even more discouraging regarding use of
cl.el and the even older cl-compat.el.

Finally, I noticed that the help screen for functions and variables from
cl.el do not actually say explicitly that they are obsolete.  The patch
marks most function and variable aliases in cl.el as obsolete.  This is
minor, but I believe somewhat helpful.

Thoughts?

Attachment: 0001-Remove-specific-byte-compiler-warnings-for-cl.el.patch
Description: Text Data


reply via email to

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