From: Amin Bandali Date: Mon, 11 Oct 2021 14:04:44 +0000 (-0400) Subject: Add ERC entries for 'customize-package-emacs-version-alist' X-Git-Tag: emacs-28.0.90~322 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c480b68644;p=emacs.git Add ERC entries for 'customize-package-emacs-version-alist' * lisp/erc/erc.el (customize-package-emacs-version-alist): Add entries for existing ERC versions. --- diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index 4a86fa712ab..d3c8b62fb3e 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el @@ -76,6 +76,14 @@ "https://www.gnu.org/software/emacs/erc.html (mailing list: emacs-erc@gnu.org)" "Location of the ERC client on the Internet.") +;; Map each :package-version to the associated Emacs version. +;; (This eliminates the need for explicit :version keywords on the +;; custom definitions.) +(add-to-list + 'customize-package-emacs-version-alist + '(ERC ("5.2" . "22.1") + ("5.3" . "23.1"))) + (defgroup erc nil "Emacs Internet Relay Chat client." :link '(url-link "https://www.gnu.org/software/emacs/erc.html")