[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dealing with obsoletion warnings in non-core code
From: |
Eli Zaretskii |
Subject: |
Re: Dealing with obsoletion warnings in non-core code |
Date: |
Tue, 29 Sep 2020 17:07:41 +0300 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: emacs-devel@gnu.org
> Date: Mon, 28 Sep 2020 15:24:36 -0400
>
> > What about something like the below?
> >
> > (if (> emacs-major-version NN)
> > (defun recommended-function (...)
> > ...))
>
> I'm not sure I understand what you mean. You're suggesting to replace
> the `fboundp` test above with something like:
>
> (if (< emacs-major-version NN)
> (defun recommended-function (...)
> ...
> (old-but-useful-function)
> ...))
No, I didn't suggest to call old-but-useful-function. I suggested to
implement recommended-function or its close emulation.
Re: Dealing with obsoletion warnings in non-core code, Gregory Heytings, 2020/09/29
Re: Dealing with obsoletion warnings in non-core code, T.V Raman, 2020/09/29