Skip to content

Commit

Permalink
Declare version with "Version" rather than "Package-Version"
Browse files Browse the repository at this point in the history
Emacs builtin packages are supposed to specify their version using the header
"Version" for their version to be correctly stored in the variable
package--builtins.

This is because the function finder-compile-keywords, responsible for setting
this variable, parses the source files looking for this exact header.

This does not break package, since the function package-buffer-info looks for
both Package-Version and Version.
  • Loading branch information
aagon authored and tarsius committed Nov 27, 2023
1 parent 79f5ec7 commit 9c0a6cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/transient.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
;; Homepage: https://github.com/magit/transient
;; Keywords: extensions

;; Package-Version: 0.4.3
;; Version: 0.4.3
;; Package-Requires: ((emacs "26.1") (compat "29.1.4.1") (seq "2.24"))

;; SPDX-License-Identifier: GPL-3.0-or-later
Expand Down

0 comments on commit 9c0a6cd

Please sign in to comment.