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

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

bug#46367: 28.0.50; lisp/autorevert.el typo introduced in "auto-revert--


From: Michael Albinus
Subject: bug#46367: 28.0.50; lisp/autorevert.el typo introduced in "auto-revert--buffers-by-watch-descriptor"?
Date: Sun, 07 Feb 2021 19:21:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Georg T <georgt.12@gmail.com> 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.





reply via email to

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