aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2025-07-12 10:11:09 +0300
committerEli Zaretskii2025-07-12 10:11:09 +0300
commita8b0f5adfa46a596409a97d13fd74394e0605e17 (patch)
treef59037a3098529628d919d141f346944f9c9df93
parent5c75ec6ae52a5b06ad0424ce805f5ea0432b6e90 (diff)
downloademacs-a8b0f5adfa46a596409a97d13fd74394e0605e17.tar.gz
emacs-a8b0f5adfa46a596409a97d13fd74394e0605e17.zip
; Fix documentation of last change (bug#78844)
* doc/lispref/elisp.texi (Top): * doc/lispref/package.texi (Packaging): Fix menus. (Package Information): Fix wording, indexing and markup.
-rw-r--r--doc/lispref/elisp.texi3
-rw-r--r--doc/lispref/package.texi13
2 files changed, 11 insertions, 5 deletions
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi
index f6f8afcd326..724437b3eb7 100644
--- a/doc/lispref/elisp.texi
+++ b/doc/lispref/elisp.texi
@@ -1648,6 +1648,9 @@ Preparing Lisp code for distribution
1648* Simple Packages:: How to package a single .el file. 1648* Simple Packages:: How to package a single .el file.
1649* Multi-file Packages:: How to package multiple files. 1649* Multi-file Packages:: How to package multiple files.
1650* Package Archives:: Maintaining package archives. 1650* Package Archives:: Maintaining package archives.
1651* Archive Web Server:: Interfacing to an archive web server.
1652* Forwards-Compatibility:: Supporting older versions of Emacs.
1653* Package Information:: Information about built-in packages.
1651 1654
1652Tips and Conventions 1655Tips and Conventions
1653 1656
diff --git a/doc/lispref/package.texi b/doc/lispref/package.texi
index 5341e3e794a..41fc6c77dd6 100644
--- a/doc/lispref/package.texi
+++ b/doc/lispref/package.texi
@@ -29,6 +29,7 @@ these archives).
29* Package Archives:: Maintaining package archives. 29* Package Archives:: Maintaining package archives.
30* Archive Web Server:: Interfacing to an archive web server. 30* Archive Web Server:: Interfacing to an archive web server.
31* Forwards-Compatibility:: Supporting older versions of Emacs. 31* Forwards-Compatibility:: Supporting older versions of Emacs.
32* Package Information:: Information about built-in packages.
32@end menu 33@end menu
33 34
34@node Packaging Basics 35@node Packaging Basics
@@ -428,15 +429,17 @@ Compat manual}.
428@node Package Information 429@node Package Information
429@section Get built-in packages and versions 430@section Get built-in packages and versions
430@cindex package information 431@cindex package information
432@cindex version of a built-in package
433@cindex list of built-in packages
431 434
432Emacs ships built-in packages which may also be packaged externally on 435Emacs ships built-in packages which may also be packaged externally on
433ELPA. Knowing whether a built-in package has a higher version than on 436ELPA. Knowing whether a built-in package has a higher version than on
434ELPA or other packaging systems may be useful for external packaging 437ELPA or other packaging systems may be useful for external packaging
435tools. Those who would like to query such information can use the 438tools. Lisp programs which would like to query such information can use
436following functions. 439the following functions.
437 440
438@defun package-versioned-builtin-packages 441@defun package-versioned-builtin-packages
439This function returns the list of packages that are built-in to Emacs 442This function returns the list of packages that are built into Emacs
440and have a version. The returned list contains one symbol for each 443and have a version. The returned list contains one symbol for each
441built-in package that has a version, which are likely also packaged 444built-in package that has a version, which are likely also packaged
442externally on ELPA. 445externally on ELPA.
@@ -446,6 +449,6 @@ externally on ELPA.
446This function returns the version of a built-in @var{package}. 449This function returns the version of a built-in @var{package}.
447@var{package} should be a symbol. The returned value is a list of 450@var{package} should be a symbol. The returned value is a list of
448integers representing the version of PACKAGE in the format returned by 451integers representing the version of PACKAGE in the format returned by
449the function @code{version-to-list}, or nil if @var{package} is built-in 452the function @code{version-to-list}, or @code{nil} if @var{package} is
450but has no version or is not a built-in package. 453built-in but has no version, or is not a built-in package.
451@end defun 454@end defun