From c480b6864426a81b702b720bdacafc5ff13bdbc3 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 11 Oct 2021 10:04:44 -0400 Subject: [PATCH] Add ERC entries for 'customize-package-emacs-version-alist' * lisp/erc/erc.el (customize-package-emacs-version-alist): Add entries for existing ERC versions. --- lisp/erc/erc.el | 8 ++++++++ 1 file changed, 8 insertions(+) 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") -- 2.39.2