commit: f6c03c37ee4cebf69313c3fdf69062a4c1d59871
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 14 16:58:02 2026 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Jan 14 16:58:02 2026 +0000
URL: https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=f6c03c37
elisp.eclass: Sync from Gentoo repository
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
eclass/elisp.eclass | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/eclass/elisp.eclass b/eclass/elisp.eclass
index bac1a55..0d1fce2 100644
--- a/eclass/elisp.eclass
+++ b/eclass/elisp.eclass
@@ -1,4 +1,4 @@
-# Copyright 2002-2025 Gentoo Authors
+# Copyright 2002-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: elisp.eclass
@@ -205,6 +205,10 @@ elisp_pkg_postrm() {
elisp-site-regen
}
+# @FUNCTION: elisp_pkg_info
+# @DESCRIPTION:
+# Display the Emacs version that was used to build an installed package.
+
elisp_pkg_info() {
if [[ -n ${_ELISP_EMACS_VERSION} ]]; then
echo "Built with Emacs version: ${_ELISP_EMACS_VERSION}"