commit:     b5d8a48a9ec556e59baf53a2476fd8527aea05f6
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 26 07:01:33 2026 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 21 10:35:01 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5d8a48a

elisp-common.eclass: Update NEED_EMACS

The minimum version in the tree is 26.3. Also update related comments.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 eclass/elisp-common.eclass | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass
index 4870ef5b8db1..b07ceaf63ce7 100644
--- a/eclass/elisp-common.eclass
+++ b/eclass/elisp-common.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: elisp-common.eclass
@@ -25,21 +25,21 @@
 # When relying on the emacs USE flag, you need to add
 #
 # @CODE
-# emacs? ( >=app-editors/emacs-25.3:* )
+# emacs? ( >=app-editors/emacs-26.3:* )
 # @CODE
 #
 # to your DEPEND/RDEPEND line and use the functions provided here to
 # bring the files to the correct locations.
 #
-# If your package requires a minimum Emacs version, e.g. Emacs 26.1,
-# then the dependency should be on >=app-editors/emacs-26.1:* instead.
+# If your package requires a minimum Emacs version, e.g. Emacs 30.1,
+# then the dependency should be on >=app-editors/emacs-30.1:* instead.
 # Because the user can select the Emacs executable with eselect, you
 # should also make sure that the active Emacs version is sufficient.
 # The eclass will automatically ensure this if you assign variable
 # NEED_EMACS with the Emacs version, as in the following example:
 #
 # @CODE
-# NEED_EMACS=26.1
+# NEED_EMACS=30.1
 # @CODE
 #
 # Please note that this should be done only for packages that are known
@@ -206,7 +206,7 @@ EMACS=${EPREFIX}/usr/bin/emacs
 # @ECLASS_VARIABLE: EMACSFLAGS
 # @DESCRIPTION:
 # Flags for executing Emacs in batch mode.
-# These work for Emacs versions 18-24, so don't change them.
+# These work for Emacs versions 18 to 30, so don't change them.
 EMACSFLAGS="-batch -q --no-site-file"
 
 # @ECLASS_VARIABLE: BYTECOMPFLAGS
@@ -217,7 +217,7 @@ BYTECOMPFLAGS="-L ."
 # @ECLASS_VARIABLE: NEED_EMACS
 # @DESCRIPTION:
 # The minimum Emacs version required for the package.
-: "${NEED_EMACS:=25.3}"
+: "${NEED_EMACS:=26.3}"
 
 # @ECLASS_VARIABLE: _ELISP_EMACS_VERSION
 # @INTERNAL
@@ -234,7 +234,7 @@ elisp-emacs-version() {
        local version ret tmout="timeout -k 5 55"
        # Run without timeout if the command is not available
        ${tmout} true &>/dev/null || tmout=""
-       # The following will work for at least versions 18-24.
+       # The following will work for at least versions 18 to 30.
        echo "(princ emacs-version)" >"${T}"/emacs-version.el
        version=$(
                # EMACS could be a microemacs variant that ignores the -batch

Reply via email to