1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Merge from origin/emacs-29

196def4fa6 Fix description of 'Package-Requires' library header
c177843279 ; * doc/misc/tramp.texi (FUSE setup): Fix typo.
a64336cbb9 * lisp/emacs-lisp/cl-lib.el (cl--defalias): Improve&fix d...
da8b85b577 Add two docstrings in cl-lib.el
This commit is contained in:
Eli Zaretskii 2023-11-04 05:21:39 -04:00
commit 050086931a
3 changed files with 19 additions and 1 deletions

View file

@ -1169,6 +1169,21 @@ element) is equivalent to entry with version "0". For instance:
;; Package-Requires: ((gnus "1.0") (bubbles "2.7.2") cl-lib (seq))
@end smallexample
Packages that don't need to support Emacs versions older than Emacs 27
can have the @samp{Package-Requires} header split across multiple
lines, like this:
@smallexample
@group
;; Package-Requires: ((emacs "27.1")
;; (compat "29.1.4.1"))
@end group
@end smallexample
@noindent
Note that with this format, you still need to start the list on the
same line as @samp{Package-Requires}.
The package code automatically defines a package named @samp{emacs}
with the version number of the currently running Emacs. This can be
used to require a minimal version of Emacs for a package.