mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
elisp.eclass: Add function documentation for elisp_pkg_info
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user