Subject: Re: bug#46367: 28.0.50; lisp/autorevert.el typo introduced in "auto-revert--buffers-by-watch-descriptor"?

From: Michael Albinus <[email-masked]>
Date: Sun, 07 Feb 2021 19:21:20 +0100

Georg T <[email-masked]> writes:

Hi Georg,

> Code using variable "auto-revert--buffers-by-watch-descriptor"
> defined in autorevert.el breaks since this variable has been renamed
> "auto-revert--buffer-by-watch-descriptor" (i.e. without s)
> recently. It's still with the "s" in Emacs 27.1 and in builts from November 2020. Unclear if this is a typo or intended; probably a typo.

It is an intended change, see commit
a8c4f8041cc64e3dafc0e435bab8043d7165ffff, and see bug#44638 and
bug#44639. It isn't just a rename, the value of the variable has changed
as well, from a hash table to an association list. So you will need
compatibility code if you use it in your own package.

However, it is an internal variable, so it isn't mentioned in etc/NEWS.

Best regards, Michael.