1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00
emacs/lisp/erc
F. Jason Park 485b84cb7c Require erc-networks in erc.el
* lisp/erc/erc.el: Require erc-networks.el, which ERC can't run
without these days.  To sidestep the circular dependency, require it
last, just after erc-goodies.  Remove the `declare-function' for
`erc-network-name' because it's not currently needed at load time.
(erc-log-irc-protocol, erc-hide-current-message-p): Remove `fboundp'
guard logic from `erc-network-name' invocations but preserve meaning
by interpreting `erc-network' being unset to mean module isn't loaded
or authoritative network detection has failed.
(erc-format-network): Likewise here.  At the moment, this function
always returns the empty string because the function
`erc-network-name' always returns non-nil, perhaps from the
fallback/failure sentinel "Unknown", perhaps from the printed form of
nil.

* lisp/erc/erc-networks.el (erc-network): This is called throughout
erc.el but was previously cumbersome to use on account of being
guarded by `fboundp'.  It now relies on the fact that its namesake
variable is set in target buffers as well.
2022-06-30 15:03:26 -07:00
..
ChangeLog.1
ChangeLog.2
erc-autoaway.el
erc-backend.el Allow exemption from flood penalty in erc-backend 2022-06-30 15:03:26 -07:00
erc-button.el Make recent nicknames erc change more backwards-compatible 2022-05-11 15:02:08 +02:00
erc-capab.el
erc-compat.el
erc-dcc.el Recognize DCC SSEND when receiving files in erc-dcc 2022-05-22 18:04:52 -07:00
erc-desktop-notifications.el
erc-ezbounce.el
erc-fill.el
erc-goodies.el
erc-ibuffer.el
erc-identd.el
erc-imenu.el
erc-join.el
erc-lang.el Rename Oriya to Odia, and more 2022-05-19 15:23:46 +03:00
erc-list.el
erc-log.el
erc-match.el
erc-menu.el
erc-netsplit.el
erc-networks.el Require erc-networks in erc.el 2022-06-30 15:03:26 -07:00
erc-notify.el
erc-page.el
erc-pcomplete.el
erc-replace.el
erc-ring.el
erc-services.el
erc-sound.el
erc-speedbar.el
erc-spelling.el
erc-stamp.el
erc-status-sidebar.el
erc-track.el
erc-truncate.el
erc-xdcc.el
erc.el Require erc-networks in erc.el 2022-06-30 15:03:26 -07:00