[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat c98e141d14 2/2: NEWS: Mention addition of compat
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat c98e141d14 2/2: NEWS: Mention addition of compat.el to Emacs |
Date: |
Mon, 12 Feb 2024 12:57:51 -0500 (EST) |
branch: externals/compat
commit c98e141d14114509caeda4e6752a1aad39a0cdb1
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
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 a4beb435d0..ae1206451f 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 6f588646cd..8e1693b5f5 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}.