aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2024-02-12 17:48:56 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2024-02-12 17:48:56 +0100
commitc98e141d14114509caeda4e6752a1aad39a0cdb1 (patch)
treedb7400dc522d8c89b52c2a38100e5d11d24dd94f
parent187ec1c9fa25e912929d049faf0f6bbf6a22ab21 (diff)
NEWS: Mention addition of compat.el to Emacs
-rw-r--r--NEWS.org8
-rw-r--r--compat.texi8
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}.