emacs-diffs
[Top][All Lists]
Advanced

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

master 1a36d52413c 3/7: Autoload custom-loads for new Custom groups in e


From: F. Jason Park
Subject: master 1a36d52413c 3/7: Autoload custom-loads for new Custom groups in erc.el
Date: Fri, 16 Feb 2024 23:04:41 -0500 (EST)

branch: master
commit 1a36d52413c784750f650ccba95436e4f76ab104
Author: F. Jason Park <jp@neverwas.me>
Commit: F. Jason Park <jp@neverwas.me>

    Autoload custom-loads for new Custom groups in erc.el
    
    * lisp/erc/erc.el: Add `custom-loads' library features for group
    symbols `erc-spelling' and `erc-imenu' since they aren't defined in
    all supported Emacs versions.  Also add groups `erc-sasl' and
    `erc-nicks', new libraries recently added to ERC.  Note that this is
    unrelated to prefixes generated for the help system.  (Bug#68943)
---
 lisp/erc/erc.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index 88227688064..db5a9baf5c3 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -135,6 +135,13 @@ concerning buffers."
   "Running scripts at startup and with /LOAD."
   :group 'erc)
 
+;; Add `custom-loads' features for group symbols missing from a
+;; supported Emacs version, possibly because they belong to a new ERC
+;; library.  These groups all share their library's feature name.
+;;;###autoload(dolist (symbol '( erc-sasl erc-spelling ; 29
+;;;###autoload                   erc-imenu erc-nicks)) ; 30
+;;;###autoload  (custom-add-load symbol symbol))
+
 (defvar erc-message-parsed) ; only known to this file
 
 (defvar erc--msg-props nil



reply via email to

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