From c98e141d14114509caeda4e6752a1aad39a0cdb1 Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Mon, 12 Feb 2024 17:48:56 +0100 Subject: NEWS: Mention addition of compat.el to Emacs --- NEWS.org | 8 ++++++++ compat.texi | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/NEWS.org b/NEWS.org index a4beb43..ae12064 100644 --- a/NEWS.org +++ b/NEWS.org @@ -2,6 +2,14 @@ #+link: compat-gh https://github.com/emacs-compat/compat/issues/ #+options: toc:nil num:nil author:nil +* Development + +- A minimal version of =compat.el= will be part of Emacs 30. Emacs :core packages + can directly ~(require 'compat)~ without the ~NOERROR~ flag. Furthermore Compat + will not be installed unnecessarily. If a package depending on Emacs 25.1 and + Compat 29.1 is installed on Emacs 30.1, Compat 29.1 will not be installed from + ELPA, since Emacs 30.1 already provides the required functionality. + * Release of "Compat" Version 29.1.4.4 - Fix ~Package-Requires~ header in compat.el diff --git a/compat.texi b/compat.texi index 6f58864..8e1693b 100644 --- a/compat.texi +++ b/compat.texi @@ -132,10 +132,10 @@ newer. Packages which are part of Emacs itself and want to take advantage of Compat, can also use @code{(require 'compat)}. The advantage of the inclusion of a minimal Compat in Emacs is that Compat will not be installed if you require a version newer or equal than the -current Emacs version. For example if a package requires Emacs 25.1 -and Compat 29.1 and is installed on Emacs 30.1, the Compat package -will not be installed, since Emacs 30.1 itself already provides the -require functionality. +current Emacs version. For example, if a package depending on Emacs +25.1 and Compat 29.1 is installed on Emacs 30.1, Compat will not be +pulled in as dependency, since Emacs 30.1 already provides the +required functionality. Compat provides replacement functions with extended functionality for functions that are already defined, e.g., @code{sort} or @code{assoc}. -- cgit v1.0