emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 c480b68 1/4: Add ERC entries for 'customize-package-emacs-versi


From: Amin Bandali
Subject: emacs-28 c480b68 1/4: Add ERC entries for 'customize-package-emacs-version-alist'
Date: Mon, 11 Oct 2021 10:31:07 -0400 (EDT)

branch: emacs-28
commit c480b6864426a81b702b720bdacafc5ff13bdbc3
Author: Amin Bandali <bandali@gnu.org>
Commit: Amin Bandali <bandali@gnu.org>

    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 4a86fa7..d3c8b62 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";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]