[Top][All Lists]

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

Re: The alias of obsolete variable font-lock-reference-face will be fina

From: Bruno Haible
Subject: Re: The alias of obsolete variable font-lock-reference-face will be finally dropped.
Date: Fri, 10 Mar 2023 00:16:55 +0100

Hello Takesi,

> The codes of po-mode.el refers obsolete variable font-lock-reference-face,
> currently.
> This works fine in the current release version of Emacs(Emacs 28.x),
> because this version refers font-lock-reference-face by using
> aliasing-mechanism to refer obsolete variables.
> But in the next release of Emacs(Emacs 29), this work around will be
> dropped(
> https://git.savannah.gnu.org/cgit/emacs.git/diff/lisp/font-lock.el?h=emacs-29&id=107f832577123ea7ebe867cba55601d0142f546f),
> so po-mode.el should be update to use new variable, font-lock-constant-face.

Thanks a lot for the heads-up! I'm not following Emacs development, therefore
without your note I would not have known about it until Emacs 29 is released
and someone complains.

I've verified that the variable font-lock-constant-face exists at least since
2005, and since the PO mode assumes Emacs 22 or newer (released in 2007 or
newer), this replacement will be OK.



reply via email to

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