mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Put most erc autoloads in a dedicated file erc-loaddefs.el
These are features that are only useful after erc.el is loaded. * lisp/erc/erc.el (top-level): Load erc-loaddefs. * lisp/erc/erc-autoaway.el, lisp/erc/erc-button.el: * lisp/erc/erc-capab.el, lisp/erc/erc-compat.el: * lisp/erc/erc-dcc.el, lisp/erc/erc-desktop-notifications.el: * lisp/erc/erc-ezbounce.el, lisp/erc/erc-fill.el: * lisp/erc/erc-identd.el, lisp/erc/erc-imenu.el: * lisp/erc/erc-join.el, lisp/erc/erc-list.el, lisp/erc/erc-log.el: * lisp/erc/erc-match.el, lisp/erc/erc-menu.el: * lisp/erc/erc-netsplit.el, lisp/erc/erc-notify.el: * lisp/erc/erc-page.el, lisp/erc/erc-pcomplete.el: * lisp/erc/erc-replace.el, lisp/erc/erc-ring.el: * lisp/erc/erc-services.el, lisp/erc/erc-sound.el: * lisp/erc/erc-speedbar.el, lisp/erc/erc-spelling.el: * lisp/erc/erc-stamp.el, lisp/erc/erc-track.el: * lisp/erc/erc-truncate.el, lisp/erc/erc-xdcc.el: Set generated-autoload-file to "erc-loaddefs.el".
This commit is contained in:
parent
c816e647eb
commit
95369ac346
30 changed files with 69 additions and 26 deletions
|
|
@ -67,6 +67,8 @@
|
|||
|
||||
;;; Code:
|
||||
|
||||
(load "erc-loaddefs" nil t)
|
||||
|
||||
(eval-when-compile (require 'cl-lib))
|
||||
(require 'font-lock)
|
||||
(require 'pp)
|
||||
|
|
@ -1272,7 +1274,7 @@ erc-NAME-enable, and erc-NAME-disable.
|
|||
|
||||
Example:
|
||||
|
||||
;;;###autoload (autoload \\='erc-replace-mode \"erc-replace\")
|
||||
;;;###autoload(autoload \\='erc-replace-mode \"erc-replace\")
|
||||
(define-erc-module replace nil
|
||||
\"This mode replaces incoming text according to `erc-replace-alist'.\"
|
||||
((add-hook \\='erc-insert-modify-hook
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue