commit: 723ee109f002fcc8261405f7362bfc9ecc656f58
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 14 16:57:01 2026 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Jan 14 16:58:42 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=723ee109
elisp.eclass: Add function documentation for elisp_pkg_info
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 bac1a55e2d21..0d1fce261608 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}"