From 723ee109f002fcc8261405f7362bfc9ecc656f58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Wed, 14 Jan 2026 17:57:01 +0100 Subject: [PATCH] elisp.eclass: Add function documentation for elisp_pkg_info MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ulrich Müller --- eclass/elisp.eclass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eclass/elisp.eclass b/eclass/elisp.eclass index bac1a55e2d215..0d1fce2616088 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}"