Skip to content

Commit

Permalink
Use lm-website instead of obsolete lm-homepage alias
Browse files Browse the repository at this point in the history
The function wasn't renamed until Emacs 28.1, so we
have to keep using the older name for older releases.
  • Loading branch information
tarsius committed Jul 18, 2024
1 parent 33221b6 commit 6148407
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package-build.el
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,10 @@ value specified in the file \"NAME.el\"."
;; by side-effect, e.g., to remove somewhat broken maintainer
;; information, that cannot easily be encoded as json (see
;; `package-build--archive-alist-for-json').
:url (lm-homepage)
:url (if (fboundp 'lm-website)
(lm-website)
(with-no-warnings
(lm-homepage)))
:keywords (lm-keywords-list)
;; Newer `package.el' versions support both `:maintainers' and
;; `:maintainer', while older versions only support the latter.
Expand Down

0 comments on commit 6148407

Please sign in to comment.