--- Begin Message ---
Subject: |
25.0.50; incompatible change to `make-obsolete' - added 3rd arg should be optional |
Date: |
Sun, 21 Dec 2014 09:14:28 -0800 (PST) |
This change, made long ago unfortunately, is incompatible. Previous to
the change, `make-obsolete' accepted only 2 args. It should still be
possible to use the function with only 2 args, as well as with 3.
This was presumably a careless oversight, and not intended as part of
the change to adding parameter WHEN. The doc string in fact indicates
that this was not intended:
If provided, WHEN should be a string indicating when the function
^^^^^^^^^^^
was first made obsolete, for example a date or a release number.
In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
of 2014-10-20 on LEG570
Bzr revision: 118168 address@hidden
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#19423: 25.0.50; incompatible change to `make-obsolete' - added 3rd arg should be optional |
Date: |
Sun, 21 Dec 2014 20:53:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Drew Adams <address@hidden> writes:
> In Emacs 23 someone unwisely changed it to mandatory, an
> incompatible change that gratuitously breaks code that could
> be used with older Emacs releases. Pain for no real gain.
You should look at the code sometimes.
The change is very much compatible: `make-obsolete' can still be called
with only two arguments without error. The third one is only mandatory
in the advertised calling convention.
Even if it wasn't, it would be too late to fix the "problem": it
wouldn't work in 23 and 24 anyway.
--- End Message ---